aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-14 18:00:11 +0100
committerAnton Khirnov <anton@khirnov.net>2013-02-23 13:06:08 +0100
commit7b4f91155bd4ef5a8d4e9af65c48b42bfa5b52c6 (patch)
tree54069fb168b693844922c454520a53b019b16e33
parente10659244782b26061e7d52c06437de32a43a7af (diff)
downloadffmpeg-7b4f91155bd4ef5a8d4e9af65c48b42bfa5b52c6.tar.gz
qtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro
-rw-r--r--libavcodec/qtrle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c
index aef0bcc505..eca96e2d5f 100644
--- a/libavcodec/qtrle.c
+++ b/libavcodec/qtrle.c
@@ -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)
{