simplify
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Aug 2007 11:12:34 +0000 (11:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Aug 2007 11:12:34 +0000 (11:12 +0000)
Originally committed as revision 10068 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/nutenc.c

index 00f76e5..fd3ce97 100644 (file)
@@ -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)