]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/msnwc_tcp.c
Move WMA case from ff_get_audio_frame_size() to av_get_audio_frame_duration()
[ffmpeg] / libavformat / msnwc_tcp.c
index 0ac1c30747aec3c9d15d8a9fa1cd4dc415ad6a88..60225af61cd23e324166c793fdf977d6fc214bb6 100644 (file)
@@ -89,9 +89,9 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
 
     /* Some files start with "connected\r\n\r\n".
      * So skip until we find the first byte of struct size */
-    while(avio_r8(pb) != HEADER_SIZE && !url_feof(pb));
+    while(avio_r8(pb) != HEADER_SIZE && !avio_feof(pb));
 
-    if(url_feof(pb)) {
+    if(avio_feof(pb)) {
         av_log(ctx, AV_LOG_ERROR, "Could not find valid start.\n");
         return -1;
     }