summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-26 03:15:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-26 03:16:53 +0200
commit7e8fdf05e09a749ac74cf4b26797e44305a2b068 (patch)
tree8f0b331dad92f8e8017932bbaf4e5c0d324721fb /libavcodec/dv.c
parent11ba0c82076dd4b22b5d28ff8004308f6ee99b4e (diff)
parent593d2326ef985cdffe413df629419938f7b07c4c (diff)
Merge commit '593d2326ef985cdffe413df629419938f7b07c4c'
* commit '593d2326ef985cdffe413df629419938f7b07c4c': dv: Replace a magic number by sizeof() Conflicts: libavcodec/dv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 554ec452d6..c3c32864c5 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -314,7 +314,7 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
s->dv_zigzag[1][i] = dsp.idct_permutation[(j & 7) + (j & 8) * 4 + (j & 48) / 2];
}
}else
- 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;