Commit 6f5f0671 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '7b4f9115'

* commit '7b4f9115':
  qtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 9ba38e62 7b4f9115
......@@ -46,12 +46,12 @@ typedef struct QtrleContext {
uint32_t pal[256];
} QtrleContext;
#define CHECK_PIXEL_PTR(n) \
if ((pixel_ptr + n > pixel_limit) || (pixel_ptr + n < 0)) { \
av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \
pixel_ptr + n, pixel_limit); \
return; \
} \
#define CHECK_PIXEL_PTR(n) \
if ((pixel_ptr + n > pixel_limit) || (pixel_ptr + n < 0)) { \
av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \
pixel_ptr + n, pixel_limit); \
return; \
} \
static void qtrle_decode_1bpp(QtrleContext *s, int row_ptr, int lines_to_change)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment