Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234383 | Differences between
and this patch

Collapse All | Expand All

(-)xvidcap-1.1.7-old/src/main.c (-3 lines)
Lines 217-225 Link Here
217
217
218
    if (app)
218
    if (app)
219
        xvc_appdata_free (app);
219
        xvc_appdata_free (app);
220
#ifdef USE_FFMPEG
221
    av_free_static ();
222
#endif
223
}
220
}
224
221
225
/**
222
/**
(-)xvidcap-1.1.7-old/src/xtoffmpeg.c (+4 lines)
Lines 1248-1254 Link Here
1248
    st->codec->flags |= CODEC_FLAG2_FAST;
1248
    st->codec->flags |= CODEC_FLAG2_FAST;
1249
    // there is no trellis quantiser in libav* for mjpeg
1249
    // there is no trellis quantiser in libav* for mjpeg
1250
    if (st->codec->codec_id != CODEC_ID_MJPEG)
1250
    if (st->codec->codec_id != CODEC_ID_MJPEG)
1251
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
1251
        st->codec->flags |= CODEC_FLAG_TRELLIS_QUANT;
1252
        st->codec->flags |= CODEC_FLAG_TRELLIS_QUANT;
1253
#else
1254
	st->codec->trellis = 1;
1255
#endif
1252
    st->codec->flags &= ~CODEC_FLAG_OBMC;
1256
    st->codec->flags &= ~CODEC_FLAG_OBMC;
1253
    // some formats want stream headers to be seperate
1257
    // some formats want stream headers to be seperate
1254
    if (oc->oformat->flags & AVFMT_GLOBALHEADER)
1258
    if (oc->oformat->flags & AVFMT_GLOBALHEADER)

Return to bug 234383