[FFmpeg-cvslog] avconv: remove a useless line

Anton Khirnov git at videolan.org
Mon May 5 15:42:35 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Apr  6 07:28:51 2014 +0200| [01947f07b81a57fb1e15114b710f6d5ae4f70a11] | committer: Anton Khirnov

avconv: remove a useless line

Doing anything with that field when we are doing streamcopy (so the
encoder is not opened) should have absolutely no effect.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01947f07b81a57fb1e15114b710f6d5ae4f70a11
---

 avconv.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/avconv.c b/avconv.c
index ebc6fd8..0e12397 100644
--- 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)



More information about the ffmpeg-cvslog mailing list