From 06deaf8ad33a996c8ad606e29197ec9712960067 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 1 Aug 2012 16:13:04 -0400 Subject: [PATCH] idcin: return 0 from idcin_read_packet() on success. This matches the AVInputFormat.read_packet() API. --- libavformat/idcin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/idcin.c b/libavformat/idcin.c index 87117eba91..b7e87a719a 100644 --- a/libavformat/idcin.c +++ b/libavformat/idcin.c @@ -341,7 +341,7 @@ static int idcin_read_packet(AVFormatContext *s, if (idcin->audio_present) idcin->next_chunk_is_video ^= 1; - return ret; + return 0; } static int idcin_read_seek(AVFormatContext *s, int stream_index,