[FFmpeg-cvslog] Fix duplicate packet init introduced by 7f9aaa4
Wolfram Gloger
git at videolan.org
Mon Aug 20 14:46:00 CEST 2012
ffmpeg | branch: master | Wolfram Gloger <wmglo at dent.med.uni-muenchen.de> | Mon Aug 20 13:17:35 2012 +0200| [a5a0dedf111d6fd4fc41c3e82287f434c8f6c4d3] | committer: Michael Niedermayer
Fix duplicate packet init introduced by 7f9aaa4
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a5a0dedf111d6fd4fc41c3e82287f434c8f6c4d3
---
libavcodec/mpegvideo_enc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index bf144af..05ae1b6 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;
More information about the ffmpeg-cvslog
mailing list