mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/aviobuf: Fix function pointer equality check
Broken in e8704a8f60041abb84585efaf3223abf0b6dcb90 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…
x
Reference in New Issue
Block a user