ffmpeg | branch: master | Luca Barbato <lu_z...@gentoo.org> | Sun Nov 1 04:07:45 2015 +0100| [452d659aa4a742106c70ffe9ef3df47ef5b81ea6] | committer: Luca Barbato
msnwc_tcp: Use the correct return values Signed-off-by: Luca Barbato <lu_z...@gentoo.org> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=452d659aa4a742106c70ffe9ef3df47ef5b81ea6 --- libavformat/msnwc_tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c index bb00c87..6cf7f9f 100644 --- a/libavformat/msnwc_tcp.c +++ b/libavformat/msnwc_tcp.c @@ -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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog