mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
6a7e074eb9
commit
66e5b1df36
@@ -146,7 +146,7 @@ static int tmv_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
int ret, pkt_size = tmv->stream_index ?
|
||||
tmv->audio_chunk_size : tmv->video_chunk_size;
|
||||
|
||||
if (url_feof(pb))
|
||||
if (pb->eof_reached)
|
||||
return AVERROR_EOF;
|
||||
|
||||
ret = av_get_packet(pb, pkt, pkt_size);
|
||||
|
||||
Reference in New Issue
Block a user