OSDN Git Service

remove warnings about uninitialized vars
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 11 Jan 2009 10:41:43 +0000 (10:41 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 11 Jan 2009 10:41:43 +0000 (10:41 +0000)
Originally committed as revision 16534 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/movenc.c

index 56d230f..aa44fd0 100644 (file)
@@ -905,7 +905,7 @@ static int mov_write_vmhd_tag(ByteIOContext *pb)
 
 static int mov_write_hdlr_tag(ByteIOContext *pb, MOVTrack *track)
 {
-    const char *descr, *hdlr, *hdlr_type;
+    const char *hdlr, *descr = NULL, *hdlr_type = NULL;
     int64_t pos = url_ftell(pb);
 
     if (!track) { /* no media --> data handler */