diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-17 00:22:27 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-18 00:39:23 +0100 |
commit | 85dc006b1a829726dd5e3a9b0fcc6a1dbfe6dffa (patch) | |
tree | d7b57c5be511f35b59873d487eb807160c4d04bc /libavcodec/internal.h | |
parent | 771656bd85416cd6308b11aed6f2c69a8db9c21b (diff) | |
download | ffmpeg-85dc006b1a829726dd5e3a9b0fcc6a1dbfe6dffa.tar.gz |
lavc: fix bitshifts amount bigger than the type
CC: libav-stable@libav.org
Bug-Id: CID 1194387 / CID 1194389 / CID 1194393 / CID 1206638
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 3b2ae40ca4..a68d6134e3 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -35,6 +35,8 @@ #define FF_SANE_NB_CHANNELS 63U +#define FF_SIGNBIT(x) (x >> CHAR_BIT * sizeof(x) - 1) + typedef struct FramePool { /** * Pools for each data plane. For audio all the planes have the same size, |