Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | wmavoice: only set data_size to 0 when necessary | Justin Ruggles | 2011-10-28 |
| | |||
* | wmapro: fix strict-aliasing violations by using av_alias32 | Justin Ruggles | 2011-10-28 |
| | | | | Also fix some undefined unsigned/signed conversions. | ||
* | wmapro: use FmtConvertContext.float_interleave() to interleave output samples | Justin Ruggles | 2011-10-28 |
| | |||
* | wmadec: consolidate 2 output buffer size checks into 1 check | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: assert that s->samples is not negative before trying to decode | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: use FFALIGN macro for internal data buffer size | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: do not keep incrementing the input data pointer past the end of the | Justin Ruggles | 2011-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 header | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: use unsigned int for offset | Justin Ruggles | 2011-10-28 |
| | | | | | avoids implementation-defined unsigned-to-signed conversion and simplifies the bounds checking. | ||
* | apedec: remove pointless increment of 'buf' | Justin Ruggles | 2011-10-28 |
| | | | | The variable is not used anymore at that point. | ||
* | apedec: set s->currentframeblocks after validating nblocks | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: use unsigned int for 'nblocks' and make sure that it's within int range | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: do not set s->samples until after validation. | Justin Ruggles | 2011-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 failure | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: return meaningful error values in ape_decode_frame() | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: correct an error message | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: cosmetics | Justin Ruggles | 2011-10-28 |
| | | | | break some excessively long lines and remove space after '*' | ||
* | apedec: return meaningful error codes from ape_decode_init() | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: check for filter buffer allocation failure | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: use memcpy for pseudo-stereo mode | Justin Ruggles | 2011-10-28 |
| | |||
* | apedec: remove unneeded check for zero-size packet. | Justin Ruggles | 2011-10-28 |
| | | | | This is already checked by avcodec_decode_audio3(). | ||
* | lavf: move private fields in AVStream to the end at next bump. | Anton Khirnov | 2011-10-28 |
| | |||
* | lavf: move private fields in AVFormatContext to the end at next bump. | Anton Khirnov | 2011-10-28 |
| | |||
* | lavf: make some seeking functions private | Anton Khirnov | 2011-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 0 | Justin Ruggles | 2011-10-27 |
| | |||
* | mp3adu: return error instead of just consuming bad packets | Justin Ruggles | 2011-10-27 |
| | |||
* | mpegaudiodec: check output data size based on avctx->frame_size | Justin Ruggles | 2011-10-27 |
| | |||
* | avcodec: remove avcodec_parse_frame and deprecate associated elements. | Justin Ruggles | 2011-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-printing | Justin Ruggles | 2011-10-27 |
| | |||
* | mpegaudiodec: remove frame_count field from MPADecodeContext. | Justin Ruggles | 2011-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 -1 | Justin Ruggles | 2011-10-27 |
| | |||
* | mpegaudiodec: Skip only bad frames instead of the whole packet. | Justin Ruggles | 2011-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 Khirnov | 2011-10-27 |
| | |||
* | iv8: assemble packets to return complete frames | Janne Grunau | 2011-10-27 |
| | |||
* | pulse: documentation | Luca Barbato | 2011-10-26 |
| | | | | | | Specify avoptions and how to use pactl to list devices. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||
* | pulse: introduce pulseaudio input | Luca Barbato | 2011-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 test | Justin Ruggles | 2011-10-26 |
| | | | | this was forgotten when the encoder was removed | ||
* | libopencore-amr: check output buffer size before decoding | Justin Ruggles | 2011-10-26 |
| | |||
* | libopencore-amr: remove unneeded buf_size==0 check. | Justin Ruggles | 2011-10-26 |
| | | | | | avcodec_decode_audio3() already checks it before sending the packet to the decoder. | ||
* | libopencore-amr: remove unneeded frame_count field. | Justin Ruggles | 2011-10-26 |
| | | | | Use AVCodecContext.frame_number instead. | ||
* | aac_latm: remove unneeded check for zero-size packet. | Justin Ruggles | 2011-10-26 |
| | | | | This is already checked by avcodec_decode_audio3() | ||
* | pcmdec: fix output buffer size check by calculating the actual output size | Justin Ruggles | 2011-10-26 |
| | | | | prior to decoding. | ||
* | pcmdec: move codec-specific variable declarations to the corresponding codec | Justin Ruggles | 2011-10-26 |
| | | | | blocks. | ||
* | pcmdec: return buf_size instead of src-buf. | Justin Ruggles | 2011-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 Ruggles | 2011-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 Ruggles | 2011-10-26 |
| | |||
* | pcmenc: remove unneeded sample_fmt check. | Justin Ruggles | 2011-10-26 |
| | | | | It is already checked by avcodec_open2(). | ||
* | pcmdec: move number of channels check to pcm_decode_init() | Justin Ruggles | 2011-10-26 |
| | |||
* | pcmdec: remove unnecessary check for sample_fmt change | Justin Ruggles | 2011-10-26 |
| | |||
* | pcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets | Justin Ruggles | 2011-10-26 |
| | | | | the sample size. |