[FFmpeg-cvslog] idcin: return 0 from idcin_read_packet() on success.
Justin Ruggles
git at videolan.org
Thu Jan 10 13:02:41 CET 2013
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Aug 1 16:13:04 2012 -0400| [06deaf8ad33a996c8ad606e29197ec9712960067] | committer: Justin Ruggles
idcin: return 0 from idcin_read_packet() on success.
This matches the AVInputFormat.read_packet() API.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06deaf8ad33a996c8ad606e29197ec9712960067
---
libavformat/idcin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/idcin.c b/libavformat/idcin.c
index 87117eb..b7e87a7 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,
More information about the ffmpeg-cvslog
mailing list