mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
qtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro
This commit is contained in:
parent
e106592447
commit
7b4f91155b
@ -46,12 +46,12 @@ typedef struct QtrleContext {
|
|||||||
uint32_t pal[256];
|
uint32_t pal[256];
|
||||||
} QtrleContext;
|
} QtrleContext;
|
||||||
|
|
||||||
#define CHECK_PIXEL_PTR(n) \
|
#define CHECK_PIXEL_PTR(n) \
|
||||||
if ((pixel_ptr + n > pixel_limit) || (pixel_ptr + n < 0)) { \
|
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", \
|
av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \
|
||||||
pixel_ptr + n, pixel_limit); \
|
pixel_ptr + n, pixel_limit); \
|
||||||
return; \
|
return; \
|
||||||
} \
|
} \
|
||||||
|
|
||||||
static void qtrle_decode_1bpp(QtrleContext *s, int row_ptr, int lines_to_change)
|
static void qtrle_decode_1bpp(QtrleContext *s, int row_ptr, int lines_to_change)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user