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

Daniel Kučera daniel.kucera at gmail.com
Fri Jun 2 17:53:10 EEST 2017


2017-06-02 15:43 GMT+02:00 Daniel Kučera <daniel.kucera at gmail.com>:
> 2017-06-02 15:08 GMT+02:00 Daniel Kučera <daniel.kucera at gmail.com>:
>> 2017-06-02 15:02 GMT+02:00 Nicolas George <george at nsup.org>:
>>> Le quartidi 14 prairial, an CCXXV, Daniel Kučera a écrit :
>>>> Now I'm trying to pass fate. I've fixed some problems but don't have
>>>> an idea why it won't pass following test. Does anyone have idea?
>>>
>>> I suspect you need to fix lavf/file.c to actually return AVERROR_EOF.
>>>
>
> problem is that cache_seek is calling ffurl_seek, but
> h->prot->url_seek is zero so it returns AVERROR(ENOSYS)
>
> I'm little bit lost...
>

Ok, I've found it and successfully passed fate. I'll send updated
patch in separate e-mail.

S pozdravom / Best regards
Daniel Kucera.


More information about the ffmpeg-devel mailing list