Revision 52b2e95c
libavcodec/dvbsubdec.c | ||
---|---|---|
792 | 792 |
map_table = NULL; |
793 | 793 |
|
794 | 794 |
x_pos += dvbsub_read_2bit_string(pbuf + (y_pos * region->width) + x_pos, |
795 |
region->width - x_pos, &buf, buf_size,
|
|
795 |
region->width - x_pos, &buf, buf_end - buf,
|
|
796 | 796 |
non_mod, map_table); |
797 | 797 |
break; |
798 | 798 |
case 0x11: |
... | ... | |
807 | 807 |
map_table = NULL; |
808 | 808 |
|
809 | 809 |
x_pos += dvbsub_read_4bit_string(pbuf + (y_pos * region->width) + x_pos, |
810 |
region->width - x_pos, &buf, buf_size,
|
|
810 |
region->width - x_pos, &buf, buf_end - buf,
|
|
811 | 811 |
non_mod, map_table); |
812 | 812 |
break; |
813 | 813 |
case 0x12: |
... | ... | |
817 | 817 |
} |
818 | 818 |
|
819 | 819 |
x_pos += dvbsub_read_8bit_string(pbuf + (y_pos * region->width) + x_pos, |
820 |
region->width - x_pos, &buf, buf_size,
|
|
820 |
region->width - x_pos, &buf, buf_end - buf,
|
|
821 | 821 |
non_mod, NULL); |
822 | 822 |
break; |
823 | 823 |
|
Also available in: Unified diff