summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
authorUoti Urpala <uoti.urpala@pp1.inet.fi>2006-04-20 19:23:57 +0000
committerRoberto Togni <r_togni@tiscali.it>2006-04-20 19:23:57 +0000
commit4f26258f848e2a607f5f26288012492977c2930e (patch)
tree34b558d748013b83dd75d4c8640476f1999267d0 /libavformat/mmf.c
parentc3f11d199c2aa0590fb1b76ad994c1369dd02cde (diff)
dtsdec.c copies one input packet at a time to a (static) buffer of size
4096 bytes while the packet can be up to 18726 bytes. The code also keeps decoding until all input data has been used up, not respecting AVCODEC_MAX_AUDIO_FRAME_SIZE. The patch increases the buffer size and return after decoding one frame. Also fixes dts_decode_init to return -1, not 1, on failure. Patch by Uoti Urpala ||| uoti : urpala |!| pp1 : inet : fi ||| Originally committed as revision 5307 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mmf.c')
0 files changed, 0 insertions, 0 deletions