Revision 7604246d libavcodec/wmv2.c

View differences:

libavcodec/wmv2.c
79 79
    return 0;
80 80
}
81 81

  
82
#ifdef CONFIG_ENCODERS
82 83
static int wmv2_encode_init(AVCodecContext *avctx){
83 84
    Wmv2Context * const w= avctx->priv_data;
84 85
    
......
255 256
        msmpeg4_encode_block(s, block[i], i);
256 257
    }
257 258
}
259
#endif //CONFIG_ENCODERS
258 260

  
259 261
static void parse_mb_skip(Wmv2Context * w){
260 262
    int mb_x, mb_y;
......
828 830
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
829 831
};
830 832

  
833
#ifdef CONFIG_ENCODERS
831 834
AVCodec wmv2_encoder = {
832 835
    "wmv2",
833 836
    CODEC_TYPE_VIDEO,
......
837 840
    MPV_encode_picture,
838 841
    MPV_encode_end,
839 842
};
840

  
843
#endif

Also available in: Unified diff