Message ID | 20160909230007.49352-3-rodger.combs@gmail.com |
---|---|
State | Rejected |
Headers | show |
On Fri, Sep 09, 2016 at 06:00:07PM -0500, Rodger Combs wrote: > --- > libavcodec/wmv2dec.c | 2 ++ > 1 file changed, 2 insertions(+) why ? the whole file is already conditionally build on just CONFIG_WMV2_DECODER or am i missing something ? [...]
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index 20dbee5..477196e 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -455,6 +455,7 @@ int ff_wmv2_decode_mb(MpegEncContext *s, int16_t block[6][64]) return 0; } +#if CONFIG_WMV2_DECODER static av_cold int wmv2_decode_init(AVCodecContext *avctx) { Wmv2Context *const w = avctx->priv_data; @@ -495,3 +496,4 @@ AVCodec ff_wmv2_decoder = { .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, }; +#endif