Browse Source

apiexample fix by (Chip: szarlada, freemail hu)

Originally committed as revision 4357 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
a7cc43047f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/apiexample.c

+ 1
- 0
libavcodec/apiexample.c View File

@@ -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) {


Loading…
Cancel
Save