Mercurial > libavcodec.hg
comparison i386/motion_est_mmx.c @ 3267:8072ed8993f6 libavcodec
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 |||
author | rtognimp |
---|---|
date | Thu, 20 Apr 2006 19:23:57 +0000 |
parents | 0b546eab515d |
children | e0927bc44a10 |
comparison
equal
deleted
inserted
replaced
3266:3b785e80ce3e | 3267:8072ed8993f6 |
---|