Skip to content
Snippets Groups Projects
Commit 452d659a authored by Luca Barbato's avatar Luca Barbato
Browse files

msnwc_tcp: Use the correct return values


Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent f8d10511
Branches
Tags
No related merge requests found
......@@ -68,7 +68,7 @@ static int msnwc_tcp_probe(AVProbeData *p)
}
}
return -1;
return 0;
}
static int msnwc_tcp_read_header(AVFormatContext *ctx)
......@@ -94,7 +94,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
if (pb->eof_reached) {
av_log(ctx, AV_LOG_ERROR, "Could not find valid start.");
return -1;
return AVERROR_INVALIDDATA;
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment