diff options
author | Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> | 2012-08-20 13:17:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-20 14:45:28 +0200 |
commit | a5a0dedf111d6fd4fc41c3e82287f434c8f6c4d3 (patch) | |
tree | bd0c33dcefb93a9a2e6dcfbb0c607ac6a6899951 /libavcodec | |
parent | 76c3fff2f37c5d8ad0e2fb0b403ec2625a198694 (diff) | |
download | ffmpeg-a5a0dedf111d6fd4fc41c3e82287f434c8f6c4d3.tar.gz |
Fix duplicate packet init introduced by 7f9aaa4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-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; |