[libav-commits] idcin: return 0 from idcin_read_packet() on success.

Justin Ruggles git at libav.org
Wed Jan 9 20:46:57 CET 2013


Module: libav
Branch: master
Commit: 06deaf8ad33a996c8ad606e29197ec9712960067

Author:    Justin Ruggles <justin.ruggles at gmail.com>
Committer: Justin Ruggles <justin.ruggles at gmail.com>
Date:      Wed Aug  1 16:13:04 2012 -0400

idcin: return 0 from idcin_read_packet() on success.

This matches the AVInputFormat.read_packet() API.

---

 libavformat/idcin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 libav-commits mailing list