Commit 97a2eca4 authored by michael's avatar michael

apiexample fix by (Chip: szarlada, freemail hu)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4357 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5a8a7bff
......@@ -198,6 +198,7 @@ void video_encode_example(const char *filename)
c->time_base= (AVRational){1,25};
c->gop_size = 10; /* emit one intra frame every ten frames */
c->max_b_frames=1;
c->pix_fmt = PIX_FMT_YUV420P;
/* open it */
if (avcodec_open(c, codec) < 0) {
......
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