链接已复制
1 回复
Oh, yes, you are right, it is our mistake. Fortunately, it is easy to fix. You need to change function write_dqt(), file jpgmisc.c, line 673:
instead of
status = write_byte(quant_tbl[zig_zag_tab_index],bitstream);
you need
status = write_byte(quant_tbl,bitstream);
Hope it helps.
Thanks for your report.
Regards,
Vladimir
