aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-01-11 10:41:43 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-01-11 10:41:43 +0000
commit985688b8e597b616246746a16649653db6dcf023 (patch)
tree3af6f5a4d56519512893704680a70e6604cc439d /libavformat/movenc.c
parent336c2ca58587ce604cdbf0e9ba4c6baf9db8a949 (diff)
downloadffmpeg-985688b8e597b616246746a16649653db6dcf023.tar.gz
remove warnings about uninitialized vars
Originally committed as revision 16534 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 56d230fc44..aa44fd0897 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -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 */