Mask bits of reference indexes properly to avoid negative numbers entangling
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2008 16:10:39 +0000 (16:10 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2008 16:10:39 +0000 (16:10 +0000)
commitbeca9a286c46a67b39fde5fab62a60d0766fc5ad
treebcbacbf8adcac3a5fcbeea728141a82d78d85b35
parente248cb601edf4c43ee17d880a53452fe6159799b
Mask bits of reference indexes properly to avoid negative numbers entangling
each other.
Fixes at least:
CAMA1_TOSHIBA_B
cama1_vtc_c
CAMA3_Sand_E
cama3_vtc_b
CAMASL3_Sony_B
CVMA1_TOSHIBA_B
CVMAQP3_Sony_D
cvmp_mot_mbaff0_full_B
FRExt/HCAMFF1_HHI
FRExt/HCHP3_HHI_A
FRExt/HVLCMFF0_Sony_B

Originally committed as revision 14683 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c