Wolfram Gloger | 20 Aug 2012 13:17
Picon
Favicon

[TRIVIAL PATCH] Fix duplicate packet init introduced by 7f9aaa4

Author: Wolfram Gloger <wmglo <at> dent.med.uni-muenchen.de>
Date:   Mon Aug 20 12:00:03 2012 +0200

    Fix duplicate packet init introduced by 7f9aaa4.

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
 <at>  <at>  -1126,7 +1126,6  <at>  <at>  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;
Michael Niedermayer | 20 Aug 2012 14:39
Picon
Picon

Re: [TRIVIAL PATCH] Fix duplicate packet init introduced by 7f9aaa4

On Mon, Aug 20, 2012 at 01:17:35PM +0200, Wolfram Gloger wrote:
> Author: Wolfram Gloger <wmglo <at> dent.med.uni-muenchen.de>
> Date:   Mon Aug 20 12:00:03 2012 +0200
> 
>     Fix duplicate packet init introduced by 7f9aaa4.

applied

thanks

[...]
--

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel <at> ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Gmane