Commit b40e43c5 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '452d659a'

* commit '452d659a':
  msnwc_tcp: Use the correct return values
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 618817b6 452d659a
...@@ -94,7 +94,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx) ...@@ -94,7 +94,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
if(avio_feof(pb)) { if(avio_feof(pb)) {
av_log(ctx, AV_LOG_ERROR, "Could not find valid start.\n"); av_log(ctx, AV_LOG_ERROR, "Could not find valid start.\n");
return -1; return AVERROR_INVALIDDATA;
} }
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment