[FFmpeg-cvslog] append_packet_chunked: Remove unused initialization.

Michael Niedermayer git at videolan.org
Sat Mar 16 17:20:01 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Mar 16 17:03:41 2013 +0100| [07d4f557e50525d2a6cb220c7eec2d5402c9fd70] | committer: Michael Niedermayer

append_packet_chunked: Remove unused initialization.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 44d41d7..9315bb2 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;



More information about the ffmpeg-cvslog mailing list