Alexis Ballier
1475815a1a
Apply again [ 916352f282] that got lost in the merges.
Do not quote second argument to filter{,_out} in check_ld. We want to keep/remove all the space-separated words matching the -l* pattern, not keep everything if the whole argument begins with -l and remove it otherwise.
This also fixes errors like:
./configure: eval: line 418: syntax error near unexpected token `-l*'
./configure: eval: line 418: `case in -l*) ;; *) echo ;; esac'
when run with ./configure --enable-openal
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
099786a638
Merge remote-tracking branch 'cus/stable'
* cus/stable:
ffplay: remove redundant !codec check
ffplay: only initialize codec opts before using it
ffplay: always free buffersink_params in configure_video_filters
ffplay: remove uneeded format filter, buffersink format is set
ffplay: check for buffersink_params allocation success
ffplay: always free inputs and outputs in configure_filtergraph
ffplay: fill the unused part of the window with black
ffplay: add update parameter to fill_rectangle
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
c19e9d00a7
doc: Point to the new location of the c99-to-c89 tool
This location contains prebuilt binaries as well.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
f742c7b2ce
lavf: fix integer overflow in rfps calculation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bacebe1f95
avienc: force a valid timebase for video
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ilkka Ollakka
6d1270a0f9
decode_audio3: initialize AVFrame
Same fix and issue as in a25d912dca
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
7669144ada
doc/platform: Comply With All Capitalized Words Convention
13 years ago
Michael Niedermayer
4695ee71b0
lavfi/fifo: add assert to ensure request was successfull.
We would crash a moment later anyway if this fails.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
304ebed586
mpegts_probe: detect files with garbage at the begin.
Fixes Ticket1811
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
5459848b14
ws-snd1: set channel layout
13 years ago
Justin Ruggles
f7b8506573
wmavoice: set channel layout
13 years ago
Justin Ruggles
50a65e7a54
vmdaudio: set channel layout
13 years ago
Justin Ruggles
002097a00b
wmapro: use AVCodecContext.channels instead of keeping a private copy
13 years ago
Justin Ruggles
b5f628e227
twinvq: validate sample rate code
A large invalid value could cause undefined behavior when left-shifted
by 8 later in the function.
13 years ago
Justin Ruggles
2ed40608e9
wma: do not keep private copies of some AVCodecContext fields
channels, sample_rate, bit_rate, and block_align can be used directly from
the AVCodecContext
13 years ago
Justin Ruggles
335826cf5f
twinvq: set channel layout
13 years ago
Justin Ruggles
8cc72ce5a0
twinvq: validate that channels is not <= 0
This could occur due to integer overflow when reading the channel count from
the extradata.
13 years ago
Justin Ruggles
cebea00c8a
truespeech: set channel layout
13 years ago
Justin Ruggles
523734eb6a
sipr: set channel layout
13 years ago
Justin Ruggles
4c53f4aed3
shorten: validate that the channel count in the header is not <= 0
13 years ago
Justin Ruggles
4e13e50432
ra288dec: set channel layout
13 years ago
Justin Ruggles
6159f64364
ra144dec: set channel layout
13 years ago
Justin Ruggles
eb38d8fe92
qdm2: remove unneeded checks for channel count
13 years ago
Justin Ruggles
be2ab8b75a
qdm2: make sure channels is not <= 0 and set channel layout
13 years ago
Justin Ruggles
e3d6ab5704
qcelpdec: set channel layout
13 years ago
Justin Ruggles
d26701ce2f
nellymoserdec: set channels to 1
13 years ago
Justin Ruggles
d40dab907a
libopencore-amr: set channel layout for amr-nb or if not set by the user
13 years ago
Justin Ruggles
30f8da29bf
libilbc: set channel layout
13 years ago
Justin Ruggles
0fd1ddf155
dpcm: use AVCodecContext.channels instead of keeping a private copy
13 years ago
Justin Ruggles
1c7a016153
imc: set channels to 1 instead of validating it
13 years ago
Justin Ruggles
32c7769e5c
gsmdec: always set channel layout and sample rate at initialization
Only mono 8kHz is supported.
13 years ago
Justin Ruggles
8ac0f6767b
dcadec: allow the decoder to change the channel layout mid-stream
13 years ago
Justin Ruggles
c5b8acad73
libgsmdec: always set channel layout and sample rate at initialization
Only mono 8kHz is supported.
13 years ago
Justin Ruggles
a346aaf148
g726dec: do not validate sample rate
For decoding it does not really matter what the sample rate is.
13 years ago
Justin Ruggles
e00eb03cd8
g726dec: set channel layout at initialization instead of validating it
13 years ago
Justin Ruggles
99d8686357
flacdec: do not warn on sample rate change
13 years ago
Justin Ruggles
90fcac0e95
flacdec: allow mid-stream channel layout change
Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.
13 years ago
Justin Ruggles
268f8ba112
flacdec: use av_samples_* functions for sample buffer allocation
Also, return an error on allocation failure.
13 years ago
Justin Ruggles
93e27f86f1
cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR
13 years ago
Justin Ruggles
8f173ef019
cook: move samples_per_frame from COOKSubpacket to where it is used
13 years ago
Justin Ruggles
7efbba2e36
cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()
13 years ago
Justin Ruggles
d21b2e4726
cook: reverse a condition so that the code makes more sense
13 years ago
Justin Ruggles
926e9d28f1
cook: remove unneeded COOKContext variable, sample_rate
13 years ago
Justin Ruggles
8aa5b8c5c8
cook: remove unneeded COOKContext variable, bit_rate
13 years ago
Justin Ruggles
3509eee19c
cook: use AVCodecContext.channels instead of keeping a private copy
13 years ago
Justin Ruggles
a3145d0335
bmvaudio: set channel layout at init() rather than validating it
13 years ago
Justin Ruggles
a38eadf7ed
atrac1: do not keep a copy of channel count in the private context
13 years ago
Justin Ruggles
4f56f9c48f
dsicinaudio: set channels and channel layout
13 years ago
Justin Ruggles
ec2694d259
g722dec: set channel layout at initialization instead of validating it
13 years ago
Justin Ruggles
ee0e9678e7
amrwbdec: set channels, channel_layout, and sample_rate
Only mono 16kHz is supported.
13 years ago