aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hpeldsp_template.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-07-15 11:28:46 +0300
committerMartin Storsjö <martin@martin.st>2013-07-15 21:37:21 +0300
commit8f24c12be7a3b3ea105e67bba9a867fe210a2333 (patch)
treecb3235dd4a127bab19c83793cd1c1f2622dd56b4 /libavcodec/hpeldsp_template.c
parent5b2a29552ca09edd4646b6aa1828b32912b7ab36 (diff)
downloadffmpeg-8f24c12be7a3b3ea105e67bba9a867fe210a2333.tar.gz
ac3dec: Don't consume more data than the actual input packet size
This was handled properly in the normal return case at the end of the function, but not in this special case. Returning a value larger than the input packet size can cause problems for certain library users. Returning the actual input buffer size unconditionally, since it is not guaranteed that frame_size is set to a sensible value at this point. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/hpeldsp_template.c')
0 files changed, 0 insertions, 0 deletions