Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | shorten: Use separate pointers for the allocated memory for decoded samples. | Michael Niedermayer | 2012-02-16 | 1 | -6/+8 |
| | | | | | | | | | | | Fixes invalid free() if any of the buffers are not allocated due to either not decoding a header or an error prior to allocating all buffers. Fixes CVE-2012-0858 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | shorten: avoid abort() on unknown audio types | John Brooks | 2011-12-08 | 1 | -3/+5 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | shorten: remove dead initialization | Paul B. Mahol | 2011-12-04 | 1 | -1/+0 |
| | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | Add avcodec_decode_audio4(). | Justin Ruggles | 2011-12-02 | 1 | -19/+26 |
| | | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders. | ||||
* | shorten: do not modify samples pointer when interleaving | Justin Ruggles | 2011-11-11 | 1 | -3/+4 |
| | |||||
* | shorten: fix end-of-stream decoding. | Justin Ruggles | 2011-10-20 | 1 | -14/+33 |
| | | | | | | | | | | | | enable CODEC_CAP_DELAY to flush any remaining frames in the buffer. Stop decoding when the FN_QUIT command is found so that a trailing seek table isn't decoded as a normal frame. decode all channels in the same call to avcodec_decode_audio3() so that decoding will not stop after the first channel of the last frame. Updated FATE reference. More valid audio is now decoded. | ||||
* | shorten: do not use block size to determine whether to read the header. | Justin Ruggles | 2011-10-20 | 1 | -2/+4 |
| | |||||
* | shorten: check output buffer size before decoding | Justin Ruggles | 2011-10-20 | 1 | -1/+7 |
| | |||||
* | shorten: use av_clip_int16() for output sample clipping | Justin Ruggles | 2011-10-20 | 1 | -1/+1 |
| | |||||
* | shorten: use bytestream functions to decode the embedded WAVE header | Justin Ruggles | 2011-10-20 | 1 | -26/+17 |
| | |||||
* | shorten: add some comments | Justin Ruggles | 2011-10-20 | 1 | -0/+18 |
| | |||||
* | shorten: merge decoding of FN_DIFF* subblocks into decode_subframe_lpc() | Justin Ruggles | 2011-10-20 | 1 | -44/+39 |
| | |||||
* | cosmetics: remove some needless commented-out stuff | Justin Ruggles | 2011-10-20 | 1 | -2/+0 |
| | |||||
* | shorten: validate block size | Justin Ruggles | 2011-10-20 | 1 | -2/+15 |
| | |||||
* | shorten: move declaration of 'ret' to top of shorten_decode_frame() | Justin Ruggles | 2011-10-20 | 1 | -2/+2 |
| | |||||
* | shorten: pass on error value from allocate_buffers() instead of returning -1 | Justin Ruggles | 2011-10-20 | 1 | -3/+3 |
| | |||||
* | shorten: check for realloc failure | Justin Ruggles | 2011-10-20 | 1 | -3/+17 |
| | |||||
* | shorten: move decoding of prediction order and applying of global offset to | Justin Ruggles | 2011-10-20 | 1 | -17/+27 |
| | | | | decode_subframe_lpc(). | ||||
* | shorten: only calculate output size when returning decoded samples, otherwise | Justin Ruggles | 2011-10-20 | 1 | -4/+6 |
| | | | | just set data_size to zero. | ||||
* | cosmetics: reindent | Justin Ruggles | 2011-10-20 | 1 | -81/+81 |
| | |||||
* | shorten: separate processing of audio commands from non-audio commands | Justin Ruggles | 2011-10-20 | 1 | -34/+39 |
| | |||||
* | shorten: skip some fields in the WAV header embedded in the shorten header. | Justin Ruggles | 2011-10-20 | 1 | -3/+4 |
| | | | | | fixes incorrect bitrate reporting and potential misreporting of the number of channels. | ||||
* | shorten: split reading of file header into a separate functions | Justin Ruggles | 2011-10-20 | 1 | -61/+70 |
| | |||||
* | shorten: remove the flush function. | Justin Ruggles | 2011-10-13 | 1 | -8/+0 |
| | | | | The shorten decoder does not support seeking. | ||||
* | shorten: Fix out of bound writes in fix_bitshift() | Laurent Aimar | 2011-10-07 | 1 | -1/+1 |
| | | | | | | The data pointers s->decoded[*] already take into account s->nwrap. Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | shorten: Prevent block size from increasing | Laurent Aimar | 2011-10-07 | 1 | -2/+8 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | lavc: use designated initialisers for all codecs. | Anton Khirnov | 2011-07-29 | 1 | -8/+7 |
| | | | | It's more readable and less prone to breakage. | ||||
* | Remove statements immediately following unconditional jumps | Mans Rullgard | 2011-07-03 | 1 | -3/+0 |
| | | | | | | This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | shorten: Remove stray DEBUG #define and corresponding av_dlog statement. | Diego Biurrun | 2011-06-07 | 1 | -2/+0 |
| | |||||
* | Remove unused variables | Mans Rullgard | 2011-06-02 | 1 | -2/+1 |
| | |||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace dprintf with av_dlog | Luca Barbato | 2011-01-29 | 1 | -1/+1 |
| | | | | dprintf clashes with POSIX.1-2008 | ||||
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf. | Diego Elio Pettenò | 2011-01-26 | 1 | -1/+1 |
| | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum | Stefano Sabatini | 2010-11-12 | 1 | -1/+1 |
| | | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Add av_ prefix to bswap macros | Måns Rullgård | 2010-07-10 | 1 | -2/+2 |
| | | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | shorten: remove VLA and check for buffer overflow | Måns Rullgård | 2010-06-26 | 1 | -1/+17 |
| | | | | Originally committed as revision 23798 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Remove explicit filename from Doxygen @file commands. | Diego Biurrun | 2010-04-20 | 1 | -1/+1 |
| | | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Define AVMediaType enum, and use it instead of enum CodecType, which | Stefano Sabatini | 2010-03-30 | 1 | -1/+1 |
| | | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Rename bitstream.h to get_bits.h. | Stefano Sabatini | 2009-04-13 | 1 | -1/+1 |
| | | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an | Thilo Borgmann | 2009-04-07 | 1 | -1/+3 |
| | | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Use full internal pathname in doxygen @file directives. | Diego Biurrun | 2009-02-01 | 1 | -1/+1 |
| | | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | shorten: trivial simplification of signature check | Måns Rullgård | 2009-01-31 | 1 | -1/+1 |
| | | | | Originally committed as revision 16908 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | remove ff_get_fourcc() and use AV_RL32() instead | Aurelien Jacobs | 2009-01-17 | 1 | -1/+1 |
| | | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Bump Major version, this commit is almost just renaming bits_per_sample to | Luca Abeni | 2008-09-08 | 1 | -2/+2 |
| | | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Modify all codecs to report their supported input and output sample format(s). | Peter Ross | 2008-07-31 | 1 | -0/+1 |
| | | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Make AVCodec long_names definition conditional depending on CONFIG_SMALL. | Stefano Sabatini | 2008-06-12 | 1 | -1/+1 |
| | | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Add long names to many AVCodec declarations. | Stefano Sabatini | 2008-04-27 | 1 | -0/+1 |
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Apply 'cold' attribute to init/uninit functions in libavcodec | Zuxy Meng | 2008-03-21 | 1 | -2/+2 |
| | | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | const | Michael Niedermayer | 2008-02-01 | 1 | -1/+1 |
| | | | | Originally committed as revision 11740 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | typo: begining --> beginning | Diego Biurrun | 2007-12-23 | 1 | -1/+1 |
| | | | | Originally committed as revision 11312 to svn://svn.ffmpeg.org/ffmpeg/trunk |