From d31c68a7ed978e48ca92d2de10c49cfbf6bd6347 Mon Sep 17 00:00:00 2001 From: Joseph Wecker Date: Thu, 10 Nov 2011 14:57:02 -0800 Subject: [PATCH] removes spurious warning Signed-off-by: Michael Niedermayer --- libavformat/flvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 5e86640c3e..3ec612fa5b 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -432,7 +432,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) assert(enc->codec_type == AVMEDIA_TYPE_DATA); avio_w8(pb, FLV_TAG_TYPE_META); flags_size = 0; - flags = NULL; + flags = 0; } if (enc->codec_id == CODEC_ID_H264 || enc->codec_id == CODEC_ID_MPEG4) {