comparison dv.c @ 7239:6519374c5020 libavcodec

Make preprocessor condition more specific and useful by changing #ifdef CONFIG_ENCODERS --> #ifdef CONFIG_DVVIDEO_ENCODER.
author diego
date Fri, 11 Jul 2008 07:45:49 +0000
parents e943e1409077
children 2552555c8a92
comparison
equal deleted inserted replaced
7238:08cc6e202aa6 7239:6519374c5020
998 dv_decode_video_segment(s, &s->buf[((chan_slice/27)*6+(chan_slice/3)+chan_slice*5+7)*80 + chan_offset], 998 dv_decode_video_segment(s, &s->buf[((chan_slice/27)*6+(chan_slice/3)+chan_slice*5+7)*80 + chan_offset],
999 &s->sys->video_place[slice*5]); 999 &s->sys->video_place[slice*5]);
1000 return 0; 1000 return 0;
1001 } 1001 }
1002 1002
1003 #ifdef CONFIG_ENCODERS 1003 #ifdef CONFIG_DVVIDEO_ENCODER
1004 static int dv_encode_mt(AVCodecContext *avctx, void* sl) 1004 static int dv_encode_mt(AVCodecContext *avctx, void* sl)
1005 { 1005 {
1006 DVVideoContext *s = avctx->priv_data; 1006 DVVideoContext *s = avctx->priv_data;
1007 int slice = (size_t)sl; 1007 int slice = (size_t)sl;
1008 1008