Loading media/libstagefright/codecs/m4v_h263/dec/src/vop.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -409,7 +409,9 @@ decode_vol: if (!BitstreamRead1Bits(stream)) return PV_FAIL; /* video_object_layer_width (13 bits) */ video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13); tmpvar = BitstreamReadBits16(stream, 13); if (!tmpvar) return PV_FAIL; video->displayWidth = video->width = tmpvar; /* round up to a multiple of MB_SIZE. 08/09/2000 */ video->width = (video->width + 15) & -16; Loading @@ -419,7 +421,9 @@ decode_vol: if (!BitstreamRead1Bits(stream)) return PV_FAIL; /* video_object_layer_height (13 bits) */ video->displayHeight = video->height = (int) BitstreamReadBits16(stream, 13); tmpvar = BitstreamReadBits16(stream, 13); if (!tmpvar) return PV_FAIL; video->displayHeight = video->height = tmpvar; /* round up to a multiple of MB_SIZE. 08/09/2000 */ video->height = (video->height + 15) & -16; Loading Loading
media/libstagefright/codecs/m4v_h263/dec/src/vop.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -409,7 +409,9 @@ decode_vol: if (!BitstreamRead1Bits(stream)) return PV_FAIL; /* video_object_layer_width (13 bits) */ video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13); tmpvar = BitstreamReadBits16(stream, 13); if (!tmpvar) return PV_FAIL; video->displayWidth = video->width = tmpvar; /* round up to a multiple of MB_SIZE. 08/09/2000 */ video->width = (video->width + 15) & -16; Loading @@ -419,7 +421,9 @@ decode_vol: if (!BitstreamRead1Bits(stream)) return PV_FAIL; /* video_object_layer_height (13 bits) */ video->displayHeight = video->height = (int) BitstreamReadBits16(stream, 13); tmpvar = BitstreamReadBits16(stream, 13); if (!tmpvar) return PV_FAIL; video->displayHeight = video->height = tmpvar; /* round up to a multiple of MB_SIZE. 08/09/2000 */ video->height = (video->height + 15) & -16; Loading