From 4bb0b31f762c422ad15bee68da7bcf76940cc9fa Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Tue, 27 Sep 2011 15:27:18 -0700 Subject: [PATCH] avconv: Initialize return value for codec copy path. --- avconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avconv.c b/avconv.c index fa39e6b052..d6003dd2c1 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;