From 63dd9d0ee3126c04f2028e2459140dd9035e0fde Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 11 Aug 2007 11:12:34 +0000 Subject: [PATCH] simplify Originally committed as revision 10068 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nutenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 00f76e5575..fd3ce97fd3 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -498,7 +498,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt){ if(flags & FLAG_CODED){ length++; - flags |= needed_flags; + flags = needed_flags; } if((flags & needed_flags) != needed_flags)