summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* wmavoice: only set data_size to 0 when necessaryJustin Ruggles2011-10-28
|
* wmapro: fix strict-aliasing violations by using av_alias32Justin Ruggles2011-10-28
| | | | Also fix some undefined unsigned/signed conversions.
* wmapro: use FmtConvertContext.float_interleave() to interleave output samplesJustin Ruggles2011-10-28
|
* wmadec: consolidate 2 output buffer size checks into 1 checkJustin Ruggles2011-10-28
|
* apedec: assert that s->samples is not negative before trying to decodeJustin Ruggles2011-10-28
|
* apedec: use FFALIGN macro for internal data buffer sizeJustin Ruggles2011-10-28
|
* apedec: do not keep incrementing the input data pointer past the end of theJustin Ruggles2011-10-28
| | | | | | | | buffer during entropy decoding. The pointer address could overflow, which would likely segfault. Instead set the context error flag to indicate that the decoder tried to read past the end of the packet data.
* apedec: check for input buffer overflow while reading frame headerJustin Ruggles2011-10-28
|
* apedec: use unsigned int for offsetJustin Ruggles2011-10-28
| | | | | avoids implementation-defined unsigned-to-signed conversion and simplifies the bounds checking.
* apedec: remove pointless increment of 'buf'Justin Ruggles2011-10-28
| | | | The variable is not used anymore at that point.
* apedec: set s->currentframeblocks after validating nblocksJustin Ruggles2011-10-28
|
* apedec: use unsigned int for 'nblocks' and make sure that it's within int rangeJustin Ruggles2011-10-28
|
* apedec: do not set s->samples until after validation.Justin Ruggles2011-10-28
| | | | | This prevents errors and/or invalid writes in the next decode call due to s->samples still being negative.
* apedec: check for data buffer realloc failureJustin Ruggles2011-10-28
|
* apedec: return meaningful error values in ape_decode_frame()Justin Ruggles2011-10-28
|
* apedec: correct an error messageJustin Ruggles2011-10-28
|
* apedec: cosmeticsJustin Ruggles2011-10-28
| | | | break some excessively long lines and remove space after '*'
* apedec: return meaningful error codes from ape_decode_init()Justin Ruggles2011-10-28
|
* apedec: check for filter buffer allocation failureJustin Ruggles2011-10-28
|
* apedec: use memcpy for pseudo-stereo modeJustin Ruggles2011-10-28
|
* apedec: remove unneeded check for zero-size packet.Justin Ruggles2011-10-28
| | | | This is already checked by avcodec_decode_audio3().
* lavf: move private fields in AVStream to the end at next bump.Anton Khirnov2011-10-28
|
* lavf: move private fields in AVFormatContext to the end at next bump.Anton Khirnov2011-10-28
|
* lavf: make some seeking functions privateAnton Khirnov2011-10-28
| | | | | | | Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf.
* mp3on4: do not needlessly set data_size to 0Justin Ruggles2011-10-27
|
* mp3adu: return error instead of just consuming bad packetsJustin Ruggles2011-10-27
|
* mpegaudiodec: check output data size based on avctx->frame_sizeJustin Ruggles2011-10-27
|
* avcodec: remove avcodec_parse_frame and deprecate associated elements.Justin Ruggles2011-10-27
| | | | | | The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only indicates that they are utilized through avcodec_parse_frame(), which was never actually implemented.
* mpegaudiodec: cosmetics: basic pretty-printingJustin Ruggles2011-10-27
|
* mpegaudiodec: remove frame_count field from MPADecodeContext.Justin Ruggles2011-10-27
| | | | | | Its functionality was removed several years ago, so it doesn't do anything. AVCodecContext.frame_number could serve the same purpose if someone wants to debug the frame count.
* mpegaudiodec: return AVERROR return codes instead of -1Justin Ruggles2011-10-27
|
* mpegaudiodec: Skip only bad frames instead of the whole packet.Justin Ruggles2011-10-27
| | | | | | On frame decoding failure, return an error if the frame is the same size as the whole packet, otherwise just log an error message and return the number of bytes consumed.
* lavc: remove "legacy" mpegvideo decoder.Anton Khirnov2011-10-27
|
* iv8: assemble packets to return complete framesJanne Grunau2011-10-27
|
* pulse: documentationLuca Barbato2011-10-26
| | | | | | Specify avoptions and how to use pactl to list devices. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pulse: introduce pulseaudio inputLuca Barbato2011-10-26
| | | | | | | It currently use the simple api and is using the latency information provided only to offset the stream start. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* remove the zork pcm seek testJustin Ruggles2011-10-26
| | | | this was forgotten when the encoder was removed
* libopencore-amr: check output buffer size before decodingJustin Ruggles2011-10-26
|
* libopencore-amr: remove unneeded buf_size==0 check.Justin Ruggles2011-10-26
| | | | | avcodec_decode_audio3() already checks it before sending the packet to the decoder.
* libopencore-amr: remove unneeded frame_count field.Justin Ruggles2011-10-26
| | | | Use AVCodecContext.frame_number instead.
* aac_latm: remove unneeded check for zero-size packet.Justin Ruggles2011-10-26
| | | | This is already checked by avcodec_decode_audio3()
* pcmdec: fix output buffer size check by calculating the actual output sizeJustin Ruggles2011-10-26
| | | | prior to decoding.
* pcmdec: move codec-specific variable declarations to the corresponding codecJustin Ruggles2011-10-26
| | | | blocks.
* pcmdec: return buf_size instead of src-buf.Justin Ruggles2011-10-26
| | | | | The values will always be the same, so this change eliminates an unneeded variable. It also gets rid of the need to reset src when memcpy() is used.
* avcodec: remove the Zork PCM encoder.Justin Ruggles2011-10-26
| | | | | | The Zork PCM decoder does not decode the 1 sample we have correctly, therefore the encoder based on the decoder is also incorrect. There is no good reason to keep the encoder.
* pcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8.Justin Ruggles2011-10-26
|
* pcmenc: remove unneeded sample_fmt check.Justin Ruggles2011-10-26
| | | | It is already checked by avcodec_open2().
* pcmdec: move number of channels check to pcm_decode_init()Justin Ruggles2011-10-26
|
* pcmdec: remove unnecessary check for sample_fmt changeJustin Ruggles2011-10-26
|
* pcmdec: move DVD PCM bits_per_coded_sample check near to the code that setsJustin Ruggles2011-10-26
| | | | the sample size.