ptrdiff_t is the correct type for array pitches and similar.
Avoid using multiple variables for the same purpose.
* Change log level from error to debug * Print report after the first decoded frame, not at the end of decoding * Drop macro guard and use a context variable instead Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>