[FFmpeg-cvslog] mpegvideo_enc: remove stray duplicate line from 7f9aaa4

Anton Khirnov git at videolan.org
Mon Aug 20 17:41:35 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Aug 19 19:28:52 2012 +0200| [677e763a55dd882c08369f1b67277bf2f54387b7] | committer: Anton Khirnov

mpegvideo_enc: remove stray duplicate line from 7f9aaa4

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

 libavcodec/mpegvideo_enc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 65f2281..4101094 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -1074,7 +1074,6 @@ static int encode_frame(AVCodecContext *c, AVFrame *frame)
     int ret, got_output;
 
     av_init_packet(&pkt);
-    av_init_packet(&pkt);
     ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
     if (ret < 0)
         return ret;



More information about the ffmpeg-cvslog mailing list