]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ncdec.c
Move frame_size fallback from ff_get_audio_frame_size() to av_get_audio_frame_duration()
[ffmpeg] / libavformat / ncdec.c
index 8cb7ed4bd49b13d16fd37dc9d54f4422d42dea66..062899f154d2afb22952e68de8c384c462b8fbd6 100644 (file)
@@ -67,7 +67,7 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
 
     uint32_t state=-1;
     while (state != NC_VIDEO_FLAG) {
-        if (url_feof(s->pb))
+        if (avio_feof(s->pb))
             return AVERROR(EIO);
         state = (state<<8) + avio_r8(s->pb);
     }