2017-06-02 15:08 GMT+02:00 Daniel Kučera <daniel.kuc...@gmail.com>:
> 2017-06-02 15:02 GMT+02:00 Nicolas George <geo...@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...

Breakpoint 3, cache_seek (h=0x555556ea08e0, pos=0, whence=65536) at
libavformat/cache.c:222
222    {
(gdb) break ffurl_seek
Note: breakpoint 2 also set at pc 0x55555577ccd0.
Breakpoint 4 at 0x55555577ccd0: file libavformat/avio.c, line 438.
(gdb) c
Continuing.

Breakpoint 2, ffurl_seek (h=0x555556ea0aa0, pos=0, whence=65536) at
libavformat/avio.c:438
438        if (!h->prot->url_seek)
(gdb) p h->prot->url_seek
$2 = (int64_t (*)(URLContext *, int64_t, int)) 0x0



S pozdravom / Best regards
Daniel Kucera.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to