comparison mpeg12.c @ 1903:c94b19667d8b libavcodec

1000l for iive
author michael
date Mon, 22 Mar 2004 20:54:04 +0000
parents 779bdf5063ce
children 129236143f2e
comparison
equal deleted inserted replaced
1902:a5588762c4fa 1903:c94b19667d8b
360 { 360 {
361 int i; 361 int i;
362 362
363 s->y_dc_scale_table= 363 s->y_dc_scale_table=
364 s->c_dc_scale_table= ff_mpeg1_dc_scale_table; 364 s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
365 365
366 if(!s->encoding)
366 for(i=0;i<64;i++) 367 for(i=0;i<64;i++)
367 s->dsp.idct_permutation[i]=i; 368 s->dsp.idct_permutation[i]=i;
368 } 369 }
369 370
370 void ff_mpeg1_clean_buffers(MpegEncContext *s){ 371 void ff_mpeg1_clean_buffers(MpegEncContext *s){