Diego Biurrun
2008-08-21 20:53:55 UTC
Here is a patch that we have been using in MPlayer for a while. Some
sprintf calls in libdvdcss.c are not using the correct format string for
the uint8_t type. The Subversion log message is
Log:
Fix CSS format strings, they could print more than two digits for
"negative" numbers.
I have extended the patch to use inttypes.h instead of stdint.h in
common.h, which is needed for the PRIx8 conversion specifier. This
might need some additional changes in the autoconf build system.
Diego
sprintf calls in libdvdcss.c are not using the correct format string for
the uint8_t type. The Subversion log message is
Log:
Fix CSS format strings, they could print more than two digits for
"negative" numbers.
I have extended the patch to use inttypes.h instead of stdint.h in
common.h, which is needed for the PRIx8 conversion specifier. This
might need some additional changes in the autoconf build system.
Diego