summaryrefslogtreecommitdiff
path: root/libavcodec/shorten.c
Commit message (Collapse)AuthorAge
* shorten: fix end-of-stream decoding.Justin Ruggles2011-10-20
| | | | | | | | | | | | 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 Ruggles2011-10-20
|
* shorten: check output buffer size before decodingJustin Ruggles2011-10-20
|
* shorten: use av_clip_int16() for output sample clippingJustin Ruggles2011-10-20
|
* shorten: use bytestream functions to decode the embedded WAVE headerJustin Ruggles2011-10-20
|
* shorten: add some commentsJustin Ruggles2011-10-20
|
* shorten: merge decoding of FN_DIFF* subblocks into decode_subframe_lpc()Justin Ruggles2011-10-20
|
* cosmetics: remove some needless commented-out stuffJustin Ruggles2011-10-20
|
* shorten: validate block sizeJustin Ruggles2011-10-20
|
* shorten: move declaration of 'ret' to top of shorten_decode_frame()Justin Ruggles2011-10-20
|
* shorten: pass on error value from allocate_buffers() instead of returning -1Justin Ruggles2011-10-20
|
* shorten: check for realloc failureJustin Ruggles2011-10-20
|
* shorten: move decoding of prediction order and applying of global offset toJustin Ruggles2011-10-20
| | | | decode_subframe_lpc().
* shorten: only calculate output size when returning decoded samples, otherwiseJustin Ruggles2011-10-20
| | | | just set data_size to zero.
* cosmetics: reindentJustin Ruggles2011-10-20
|
* shorten: separate processing of audio commands from non-audio commandsJustin Ruggles2011-10-20
|
* shorten: skip some fields in the WAV header embedded in the shorten header.Justin Ruggles2011-10-20
| | | | | fixes incorrect bitrate reporting and potential misreporting of the number of channels.
* shorten: split reading of file header into a separate functionsJustin Ruggles2011-10-20
|
* shorten: remove the flush function.Justin Ruggles2011-10-13
| | | | The shorten decoder does not support seeking.
* shorten: Fix out of bound writes in fix_bitshift()Laurent Aimar2011-10-07
| | | | | | 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 increasingLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Remove statements immediately following unconditional jumpsMans Rullgard2011-07-03
| | | | | | 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 Biurrun2011-06-07
|
* Remove unused variablesMans Rullgard2011-06-02
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | 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 enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* shorten: remove VLA and check for buffer overflowMåns Rullgård2010-06-26
| | | | Originally committed as revision 23798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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, whichStefano Sabatini2010-03-30
| | | | | | 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 Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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 Biurrun2009-02-01
| | | | | | | 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 checkMåns Rullgård2009-01-31
| | | | Originally committed as revision 16908 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | 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 Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | 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 libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: begining --> beginningDiego Biurrun2007-12-23
| | | | Originally committed as revision 11312 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use skip_bits where appropriateAlex Beregszaszi2007-08-09
| | | | Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.Diego Biurrun2007-05-05
| | | | Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* properly set *data_size when returning >= 0 values in shorten_decode_frame()Aurelien Jacobs2007-03-26
| | | | | | | | Original thread: Date: Sat, 24 Mar 2007 04:04:53 +0100 Subject: [Ffmpeg-devel] Shorten file playback broken in SVN trunk Originally committed as revision 8523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give context to dprintfMichel Bardiaux2007-03-12
| | | | Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix some potential security issues, patch by Matthias Hopf, mat at mshopf dot deMatthias Hopf2006-11-22
| | | | Originally committed as revision 7153 to svn://svn.ffmpeg.org/ffmpeg/trunk