mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +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…
x
Reference in New Issue
Block a user