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>oldabi
parent
dda3f0ef48
commit
4a72765a1c
1 changed files with 2 additions and 7 deletions
Loading…
Reference in new issue