avconv: remove a useless line
authorAnton Khirnov <anton@khirnov.net>
Sun, 6 Apr 2014 05:28:51 +0000 (07:28 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 3 May 2014 19:44:10 +0000 (21:44 +0200)
Doing anything with that field when we are doing streamcopy (so the
encoder is not opened) should have absolutely no effect.

avconv.c

index ebc6fd8..0e12397 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -1135,7 +1135,6 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
     }
 
     write_frame(of->ctx, &opkt, ost);
-    ost->st->codec->frame_number++;
 }
 
 int guess_input_channel_layout(InputStream *ist)