mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
avformat/aviobuf: Fix function pointer equality check
Broken in e8704a8f60
when ffurl_read() has been turned into a static inline function
different from the actually used function ffurl_read2().
Fixes ticket #10562.
Tested-by: Mitzsch01
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
58aaa83fa2
commit
0c4ac187dc
@ -1030,7 +1030,7 @@ URLContext* ffio_geturlcontext(AVIOContext *s)
|
||||
if (!s)
|
||||
return NULL;
|
||||
|
||||
if (s->opaque && s->read_packet == (int (*)(void *, uint8_t *, int))ffurl_read)
|
||||
if (s->opaque && s->read_packet == ffurl_read2)
|
||||
return s->opaque;
|
||||
else
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user