aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-16 17:03:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-16 17:03:41 +0100
commit07d4f557e50525d2a6cb220c7eec2d5402c9fd70 (patch)
treea331fe5533ea62bb5130cce172afcc5f742c2fca
parent946cbf04ee95d800526f591ae194378fdec91150 (diff)
downloadffmpeg-07d4f557e50525d2a6cb220c7eec2d5402c9fd70.tar.gz
append_packet_chunked: Remove unused initialization.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
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;