summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-07 10:42:35 +0100
committerDiego Biurrun <diego@biurrun.de>2014-06-25 15:32:58 -0700
commit593d2326ef985cdffe413df629419938f7b07c4c (patch)
tree281678204a358b1b3b803bbf1187ec15d1410a09 /libavcodec/dv.c
parent5ab03e41e553452118113d0c224fa32b325e45e5 (diff)
dv: Replace a magic number by sizeof()
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 03ef695a41..e840f4858e 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -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;