mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-08 16:56:57 +02:00
Fix duplicate packet init introduced by 7f9aaa4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
76c3fff2f3
commit
a5a0dedf11
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user