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

Daniel Kučera daniel.kucera at gmail.com
Sat Jun 3 23:31:25 EEST 2017


2017-06-03 21:54 GMT+02:00 Michael Niedermayer <michael at niedermayer.cc>:
> On Sat, Jun 03, 2017 at 10:16:59AM +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/subfile.c |  2 +-
>>  libavformat/wtvdec.c  |  4 ++--
>>  6 files changed, 17 insertions(+), 13 deletions(-)
>
> looses Duration in output in:
> cat ~/videos/matrixbench_mpeg2.mpg | ./ffprobe -read_ahead_limit -1 cache:pipe:0
>

I fixed that RTP issue, I'll send updated patch. What does it mean
"looses Duration" ?

-- 

S pozdravom / Best regards
Daniel Kucera.


More information about the ffmpeg-devel mailing list