diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 11:47:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 11:47:57 +0200 |
commit | 340e8e0b228177955c17b4555035066a23e93a32 (patch) | |
tree | fce48149271e5f91231e6d0a47d584d4e006d35e /libavcodec/dnxhdenc.c | |
parent | b0545800bd5ad7f8c4fd847f41800a0f341b9fb7 (diff) | |
download | ffmpeg-340e8e0b228177955c17b4555035066a23e93a32.tar.gz |
dnxhdenc: fix pointer type warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 24767fd1a0..5fa721e3c8 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -71,7 +71,7 @@ static void dnxhd_8bit_get_pixels_8x4_sym(DCTELEM *restrict block, const uint8_t static av_always_inline void dnxhd_10bit_get_pixels_8x4_sym(DCTELEM *restrict block, const uint8_t *pixels, int line_size) { int i; - const uint16_t* pixels16 = pixels; + const uint16_t* pixels16 = (const uint16_t*)pixels; line_size >>= 1; for (i = 0; i < 4; i++) { |