diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-11-10 17:56:14 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-11-10 17:56:14 +0100 |
commit | b40e43c5c40158c2d9490fb0db1109a5387ff8d5 (patch) | |
tree | 7fdf911f599340d0fe5c4cda8e88c6e6cef18460 | |
parent | 618817b6a8f29b4f24fd53c7bf916f070e182136 (diff) | |
parent | 452d659aa4a742106c70ffe9ef3df47ef5b81ea6 (diff) | |
download | ffmpeg-b40e43c5c40158c2d9490fb0db1109a5387ff8d5.tar.gz |
Merge commit '452d659aa4a742106c70ffe9ef3df47ef5b81ea6'
* commit '452d659aa4a742106c70ffe9ef3df47ef5b81ea6':
msnwc_tcp: Use the correct return values
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-rw-r--r-- | libavformat/msnwc_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c index 4b2a1a2709..5abf006cc0 100644 --- a/libavformat/msnwc_tcp.c +++ b/libavformat/msnwc_tcp.c @@ -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; |