Commit 677e763a authored by Anton Khirnov's avatar Anton Khirnov

mpegvideo_enc: remove stray duplicate line from 7f9aaa49

parent 1e607213
......@@ -1073,7 +1073,6 @@ static int encode_frame(AVCodecContext *c, AVFrame *frame)
AVPacket pkt = { 0 };
int ret, got_output;
av_init_packet(&pkt);
av_init_packet(&pkt);
ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment