summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-09-27 15:27:18 -0700
committerAlex Converse <alex.converse@gmail.com>2011-09-27 19:32:26 -0700
commit4bb0b31f762c422ad15bee68da7bcf76940cc9fa (patch)
tree2339d101bd2a6a9690d70654361dcf8a10f0c6ee /avconv.c
parentdec4b4705fe0bcfc3f07959a79960cb97e895f8a (diff)
avconv: Initialize return value for codec copy path.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
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;