fixed block permutation in encoder (not optimal - should move it in forward DCT code)

Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Fabrice Bellard 24 years ago
parent 689b775b85
commit 4f1c7e3c92
  1. 4
      libavcodec/mpegvideo.c

@ -1069,6 +1069,10 @@ static int dct_quantize_mmx(MpegEncContext *s,
av_fdct (block);
/* we need this permutation so that we correct the IDCT
permutation. will be moved into DCT code */
block_permute(block);
if (s->mb_intra) {
if (n < 4)
q = s->y_dc_scale;

Loading…
Cancel
Save