diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-02-10 18:21:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-02-19 22:37:30 +0100 |
commit | acbd950ed297fded711481a4059a83b085f888ae (patch) | |
tree | 05003ac47aa680acd39ee4ecabd7a2122328ddab /presets/libvpx-720p50_60.ffpreset | |
parent | b4a4aadfafdcb0fdc45801e18b9db1d5c4e4647b (diff) | |
download | ffmpeg-acbd950ed297fded711481a4059a83b085f888ae.tar.gz |
avformat/wtvdec: Forward errors when reading packet
wtvfile_read_packet did not abide by the requirements of an
AVIOContext's read_packet-function: If it did not read anything,
it returned zero, which currently leads to a warning in read_packet_wrapper
in aviobuf.c. Said warning will be an av_assert2 as soon as
FF_API_OLD_AVIO_EOF_0 is zero (probably the next major version bump).
So instead forward the error code from the underlying protocol.
This error/assert is triggered in the wtv-demux FATE test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'presets/libvpx-720p50_60.ffpreset')
0 files changed, 0 insertions, 0 deletions