Revision e644db61

View differences:

libavcodec/libxvidff.c
481 481
    xvid_encore(x->encoder_handle, XVID_ENC_DESTROY, NULL, NULL);
482 482

  
483 483
    if( avctx->extradata != NULL )
484
        av_free(avctx->extradata);
484
        av_freep(&avctx->extradata);
485 485
    if( x->twopassbuffer != NULL ) {
486 486
        av_free(x->twopassbuffer);
487 487
        av_free(x->old_twopassbuffer);

Also available in: Unified diff