remove useless code, found by oded
[ffmpeg.git] / libavformat / nutenc.c
index dbecf62..d0005f8 100644 (file)
@@ -498,7 +498,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt){
 
         if(flags & FLAG_CODED){
             length++;
-            flags &= ~needed_flags;
             flags |=  needed_flags;
         }