[FFmpeg-cvslog] removes spurious warning

Joseph Wecker git at videolan.org
Wed Nov 30 05:32:41 CET 2011


ffmpeg | branch: master | Joseph Wecker <jwecker at justin.tv> | Thu Nov 10 14:57:02 2011 -0800| [d31c68a7ed978e48ca92d2de10c49cfbf6bd6347] | committer: Michael Niedermayer

removes spurious warning

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

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

 libavformat/flvenc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 5e86640..3ec612f 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) {



More information about the ffmpeg-cvslog mailing list