X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmsnwc_tcp.c;h=60225af61cd23e324166c793fdf977d6fc214bb6;hb=609d5db8035c868be034892a33762779a40ab8b9;hp=0ac1c30747aec3c9d15d8a9fa1cd4dc415ad6a88;hpb=9988899993ee6c514749244ff47d43492c42f395;p=ffmpeg diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c index 0ac1c30747a..60225af61cd 100644 --- a/libavformat/msnwc_tcp.c +++ b/libavformat/msnwc_tcp.c @@ -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; }