From 07d4f557e50525d2a6cb220c7eec2d5402c9fd70 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 16 Mar 2013 17:03:41 +0100 Subject: [PATCH] append_packet_chunked: Remove unused initialization. Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 44d41d7f6b..9315bb20f2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -283,7 +283,7 @@ static int append_packet_chunked(AVIOContext *s, AVPacket *pkt, int size) int64_t chunk_size = size; int orig_pos = pkt->pos; // av_grow_packet might reset pos int orig_size = pkt->size; - int ret = 0; + int ret; do { int prev_size = pkt->size;