[FFmpeg-cvslog] avconv: Initialize return value for codec copy path.

Alex Converse git at videolan.org
Thu Sep 29 01:19:11 CEST 2011


ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Tue Sep 27 15:27:18 2011 -0700| [4bb0b31f762c422ad15bee68da7bcf76940cc9fa] | committer: Alex Converse

avconv: Initialize return value for codec copy path.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4bb0b31f762c422ad15bee68da7bcf76940cc9fa
---

 avconv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/avconv.c b/avconv.c
index fa39e6b..d6003dd 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1518,7 +1518,7 @@ static int output_packet(InputStream *ist, int ist_index,
 {
     AVFormatContext *os;
     OutputStream *ost;
-    int ret, i;
+    int ret = 0, i;
     int got_output;
     void *buffer_to_free = NULL;
     static unsigned int samples_size= 0;



More information about the ffmpeg-cvslog mailing list