]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mgsts.c
Move frame_size fallback from ff_get_audio_frame_size() to av_get_audio_frame_duration()
[ffmpeg] / libavformat / mgsts.c
index dec6bfc8f6c54d7fc59297a9a5200e640fb0a5b7..8cbc9521d65a14db64d89d2499b9d53d84765504 100644 (file)
@@ -74,7 +74,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
     uint32_t chunk_size, payload_size;
     int ret;
 
-    if (url_feof(pb))
+    if (avio_feof(pb))
         return AVERROR_EOF;
 
     avio_skip(pb, 4);