- 02 Nov, 2012 5 commits
-
-
Michael Niedermayer authored
* commit '50a65e7a': (24 commits) vmdaudio: set channel layout twinvq: validate sample rate code twinvq: set channel layout twinvq: validate that channels is not <= 0 truespeech: set channel layout sipr: set channel layout shorten: validate that the channel count in the header is not <= 0 ra288dec: set channel layout ra144dec: set channel layout qdm2: remove unneeded checks for channel count qdm2: make sure channels is not <= 0 and set channel layout qcelpdec: set channel layout nellymoserdec: set channels to 1 libopencore-amr: set channel layout for amr-nb or if not set by the user libilbc: set channel layout dpcm: use AVCodecContext.channels instead of keeping a private copy imc: set channels to 1 instead of validating it gsmdec: always set channel layout and sample rate at initialization libgsmdec: always set channel layout and sample rate at initialization g726dec: do not validate sample rate ... Conflicts: libavcodec/dpcm.c libavcodec/qdm2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '8ac0f676': dcadec: allow the decoder to change the channel layout mid-stream cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR cook: move samples_per_frame from COOKSubpacket to where it is used cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels() cook: reverse a condition so that the code makes more sense cook: remove unneeded COOKContext variable, sample_rate cook: remove unneeded COOKContext variable, bit_rate cook: use AVCodecContext.channels instead of keeping a private copy bmvaudio: set channel layout at init() rather than validating it atrac1: do not keep a copy of channel count in the private context dsicinaudio: set channels and channel layout g722dec: set channel layout at initialization instead of validating it amrwbdec: set channels, channel_layout, and sample_rate amrnbdec: set channels, channel_layout, and sample_rate dca_parser: allow the parser to change the sample rate lavc: check channel count after decoder init lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders Conflicts: libavcodec/dcadec.c libavcodec/pcm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Jason authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 01 Nov, 2012 35 commits
-
-
Alexis Ballier authored
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>
-
Michael Niedermayer authored
* 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>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Stefano Sabatini authored
-
Michael Niedermayer authored
We would crash a moment later anyway if this fails. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes Ticket1811 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Justin Ruggles authored
-
Justin Ruggles authored
A large invalid value could cause undefined behavior when left-shifted by 8 later in the function.
-
Justin Ruggles authored
-
Justin Ruggles authored
This could occur due to integer overflow when reading the channel count from the extradata.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Only mono 8kHz is supported.
-
Justin Ruggles authored
-
Justin Ruggles authored
Only mono 8kHz is supported.
-
Justin Ruggles authored
For decoding it does not really matter what the sample rate is.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Although the libFLAC decoder cannot handle such a change, it is allowed by the spec and could potentially occur with live streams.
-
Justin Ruggles authored
Also, return an error on allocation failure.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-