remove useless code, found by oded
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Aug 2007 10:12:39 +0000 (10:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Aug 2007 10:12:39 +0000 (10:12 +0000)
Originally committed as revision 10066 to svn://svn.ffmpeg.org/ffmpeg/trunk

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;
         }