You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
faxcompr: fix byte alignment case
Fixes Ticket1653 Found-by: ami_stuff Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -291,7 +291,8 @@ int ff_ccitt_unpack(AVCodecContext *avctx,
|
|||||||
ref[1] = 0;
|
ref[1] = 0;
|
||||||
ref[2] = 0;
|
ref[2] = 0;
|
||||||
init_get_bits(&gb, src, srcsize*8);
|
init_get_bits(&gb, src, srcsize*8);
|
||||||
has_eol = show_bits(&gb, 12) == 1;
|
has_eol = show_bits(&gb, 12) == 1 || show_bits(&gb, 16) == 1;
|
||||||
|
|
||||||
for(j = 0; j < height; j++){
|
for(j = 0; j < height; j++){
|
||||||
runend = runs + runsize;
|
runend = runs + runsize;
|
||||||
if(compr == TIFF_G4){
|
if(compr == TIFF_G4){
|
||||||
|
Reference in New Issue
Block a user