mirror of https://github.com/FFmpeg/FFmpeg.git
Instead of returning an error when bytes are left over, just return
the number of actually used bytes as other decoders do.
Instead add a special case so an error will be returned when none
of the data looks valid to avoid making debugging a pain.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 4a72765a1c
)
oldabi
parent
a30ac54a19
commit
20708223db
1 changed files with 2 additions and 7 deletions
Loading…
Reference in new issue