Commit a5a0dedf authored by Wolfram Gloger's avatar Wolfram Gloger Committed by Michael Niedermayer

Fix duplicate packet init introduced by 7f9aaa49

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 76c3fff2
......@@ -1125,7 +1125,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