Browse Source

dv: Replace a magic number by sizeof()

tags/n2.3
Diego Biurrun 11 years ago
parent
commit
593d2326ef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dv.c

+ 1
- 1
libavcodec/dv.c View File

@@ -307,7 +307,7 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
/* 248DCT setup */
s->fdct[1] = dsp.fdct248;
s->idct_put[1] = ff_simple_idct248_put; // FIXME: need to add it to DSP
memcpy(s->dv_zigzag[1], ff_dv_zigzag248_direct, 64);
memcpy(s->dv_zigzag[1], ff_dv_zigzag248_direct, sizeof(s->dv_zigzag[1]));

s->avctx = avctx;
avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT;


Loading…
Cancel
Save