aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-19 19:28:52 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-20 10:05:49 +0200
commit677e763a55dd882c08369f1b67277bf2f54387b7 (patch)
tree5262bf8a9e2e0aaf066b3e8b54ef32bd03535d1f
parent1e6072139b0a70abd8c72f59b5b556fb5b6c0d93 (diff)
downloadffmpeg-677e763a55dd882c08369f1b67277bf2f54387b7.tar.gz
mpegvideo_enc: remove stray duplicate line from 7f9aaa4
-rw-r--r--libavcodec/mpegvideo_enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 65f22817da..4101094b27 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;