1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

cosmetics: Remove pointless '#if 1' preprocessor directives.

Originally committed as revision 20949 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-12-28 15:27:49 +00:00
parent e6d3534f9c
commit 3f35415df7

View File

@ -1911,7 +1911,6 @@ static void init_uni_mpeg4_rl_tab(RLTable *rl, uint32_t *bits_tab, uint8_t *len_
bits_tab[index]= bits; bits_tab[index]= bits;
len_tab [index]= len; len_tab [index]= len;
} }
#if 1
/* ESC1 */ /* ESC1 */
bits= rl->table_vlc[rl->n][0]; bits= rl->table_vlc[rl->n][0];
len= rl->table_vlc[rl->n][1]; len= rl->table_vlc[rl->n][1];
@ -1929,8 +1928,6 @@ static void init_uni_mpeg4_rl_tab(RLTable *rl, uint32_t *bits_tab, uint8_t *len_
len_tab [index]= len; len_tab [index]= len;
} }
} }
#endif
#if 1
/* ESC2 */ /* ESC2 */
bits= rl->table_vlc[rl->n][0]; bits= rl->table_vlc[rl->n][0];
len= rl->table_vlc[rl->n][1]; len= rl->table_vlc[rl->n][1];
@ -1948,7 +1945,6 @@ static void init_uni_mpeg4_rl_tab(RLTable *rl, uint32_t *bits_tab, uint8_t *len_
len_tab [index]= len; len_tab [index]= len;
} }
} }
#endif
/* ESC3 */ /* ESC3 */
bits= rl->table_vlc[rl->n][0]; bits= rl->table_vlc[rl->n][0];
len = rl->table_vlc[rl->n][1]; len = rl->table_vlc[rl->n][1];
@ -5250,7 +5246,6 @@ int h263_decode_picture_header(MpegEncContext *s)
if(s->avctx->debug&FF_DEBUG_PICT_INFO){ if(s->avctx->debug&FF_DEBUG_PICT_INFO){
show_pict_info(s); show_pict_info(s);
} }
#if 1
if (s->pict_type == FF_I_TYPE && s->codec_tag == AV_RL32("ZYGO")){ if (s->pict_type == FF_I_TYPE && s->codec_tag == AV_RL32("ZYGO")){
int i,j; int i,j;
for(i=0; i<85; i++) av_log(s->avctx, AV_LOG_DEBUG, "%d", get_bits1(&s->gb)); for(i=0; i<85; i++) av_log(s->avctx, AV_LOG_DEBUG, "%d", get_bits1(&s->gb));
@ -5265,7 +5260,6 @@ int h263_decode_picture_header(MpegEncContext *s)
} }
for(i=0; i<50; i++) av_log(s->avctx, AV_LOG_DEBUG, "%d", get_bits1(&s->gb)); for(i=0; i<50; i++) av_log(s->avctx, AV_LOG_DEBUG, "%d", get_bits1(&s->gb));
} }
#endif
return 0; return 0;
} }