Commit 83fc0b9d authored by Michael Niedermayer's avatar Michael Niedermayer

doc/examples/muxing: Fix mixed declaration and code

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 15db457e
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment