ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Thu Oct 15 00:00:45 2015 +0200| [83fc0b9d48d103f091211180bbe38f159790e62b] | committer: Michael Niedermayer
doc/examples/muxing: Fix mixed declaration and code Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=83fc0b9d48d103f091211180bbe38f159790e62b --- doc/examples/muxing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index 041617a..d4dac5c 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -493,12 +493,12 @@ static int write_video_frame(AVFormatContext *oc, OutputStream *ost) AVCodecContext *c; AVFrame *frame; int got_packet = 0; + AVPacket pkt = { 0 }; c = ost->st->codec; frame = get_video_frame(ost); - AVPacket pkt = { 0 }; av_init_packet(&pkt); /* encode the image */ _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog