mirror of https://git.ffmpeg.org/ffmpeg.git
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:
commit
b40e43c5c4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue