[FFmpeg-devel] [PATCH] libavformat/aviobuf.c: don't treat 0 from read_packet as EOF

Michael Niedermayer michael at niedermayer.cc
Sat Jun 3 05:19:17 EEST 2017


On Fri, Jun 02, 2017 at 04:55:30PM +0200, Daniel Kucera wrote:
> Signed-off-by: Daniel Kucera <daniel.kucera at gmail.com>
> ---
>  libavformat/avio.c    |  2 +-
>  libavformat/aviobuf.c | 18 ++++++++++--------
>  libavformat/cache.c   |  2 +-
>  libavformat/file.c    |  2 ++
>  libavformat/wtvdec.c  |  4 ++--
>  5 files changed, 16 insertions(+), 12 deletions(-)

breaks:
ffmpeg  -i subfile,,start,10000,end,400000,,:matrixbench_mpeg2.mpg subfile.avi

(infnite loop)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Take away the freedom of one citizen and you will be jailed, take away
the freedom of all citizens and you will be congratulated by your peers
in Parliament.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170603/a0cca1c7/attachment.sig>


More information about the ffmpeg-devel mailing list