Revision 755bfeab libavcodec/apiexample.c

View differences:

libavcodec/apiexample.c
336 336
    picture= avcodec_alloc_frame();
337 337

  
338 338
    if(codec->capabilities&CODEC_CAP_TRUNCATED)
339
        c->flags|= CODEC_FLAG_TRUNCATED; /* we dont send complete frames */
339
        c->flags|= CODEC_FLAG_TRUNCATED; /* we do not send complete frames */
340 340

  
341
    /* for some codecs, such as msmpeg4 and mpeg4, width and height
342
       MUST be initialized there because these info are not available
343
       in the bitstream */
341
    /* For some codecs, such as msmpeg4 and mpeg4, width and height
342
       MUST be initialized there because this information is not
343
       available in the bitstream. */
344 344

  
345 345
    /* open it */
346 346
    if (avcodec_open(c, codec) < 0) {

Also available in: Unified diff