diff options
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index bf144affe9..05ae1b6b2d 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -1126,7 +1126,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; |