Merge commit '452d659aa4a742106c70ffe9ef3df47ef5b81ea6'

* commit '452d659aa4a742106c70ffe9ef3df47ef5b81ea6':
  msnwc_tcp: Use the correct return values

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
Hendrik Leppkes 2015-11-10 17:56:14 +01:00
commit b40e43c5c4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
if(avio_feof(pb)) {
av_log(ctx, AV_LOG_ERROR, "Could not find valid start.\n");
return -1;
return AVERROR_INVALIDDATA;
}
return 0;