diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-15 01:00:45 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-15 01:24:00 +0300 |
commit | 83fc0b9d48d103f091211180bbe38f159790e62b (patch) | |
tree | 60c7525d716d7ba4963e733baaf61a3bbd9a92f0 /doc | |
parent | 15db457ea8f76cd03a371dee548b7dbc60efcb86 (diff) |
doc/examples/muxing: Fix mixed declaration and code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/muxing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index 041617aff3..d4dac5cd69 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 */ |