comparison movenc.c @ 4195:89299a4307eb libavformat

remove warnings about uninitialized vars
author bcoudurier
date Sun, 11 Jan 2009 10:41:43 +0000
parents 67ab85a3611d
children 5fc3729da880
comparison
equal deleted inserted replaced
4194:67ab85a3611d 4195:89299a4307eb
903 return 0x14; 903 return 0x14;
904 } 904 }
905 905
906 static int mov_write_hdlr_tag(ByteIOContext *pb, MOVTrack *track) 906 static int mov_write_hdlr_tag(ByteIOContext *pb, MOVTrack *track)
907 { 907 {
908 const char *descr, *hdlr, *hdlr_type; 908 const char *hdlr, *descr = NULL, *hdlr_type = NULL;
909 int64_t pos = url_ftell(pb); 909 int64_t pos = url_ftell(pb);
910 910
911 if (!track) { /* no media --> data handler */ 911 if (!track) { /* no media --> data handler */
912 hdlr = "dhlr"; 912 hdlr = "dhlr";
913 hdlr_type = "url "; 913 hdlr_type = "url ";