Martin Storsjö 8f24c12be7 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>
2013-07-15 21:37:21 +03:00
2013-06-24 13:06:01 -04:00
2013-04-05 18:55:11 +02:00
2013-07-07 21:43:23 +02:00
2013-04-27 10:51:28 +02:00
2013-07-07 21:43:23 +02:00
2013-07-07 21:43:23 +02:00
2013-07-07 21:43:23 +02:00
2013-04-05 18:55:11 +02:00
2013-01-06 16:23:12 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 209 MiB
Languages
C 90.4%
Assembly 7.7%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%