aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-02-18 02:04:24 +0530
committerAnton Khirnov <anton@khirnov.net>2012-02-19 15:55:57 +0100
commit566df2eea2d8330748e770a7e2ab72df567cd487 (patch)
tree247ed9b8099507af94c8aef49e6957efdccd6c55
parent1a58daed0f3450656a52766bea65c82d0e855b6b (diff)
downloadffmpeg-566df2eea2d8330748e770a7e2ab72df567cd487.tar.gz
sunrast: use RLE trigger macro inplace of the hard coded value.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--libavcodec/sunrast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c
index 8754fc5925..fef17b4054 100644
--- a/libavcodec/sunrast.c
+++ b/libavcodec/sunrast.c
@@ -148,7 +148,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
if (buf_end - buf < 1)
return AVERROR_INVALIDDATA;
- if ((value = *buf++) == 0x80) {
+ if ((value = *buf++) == RLE_TRIGGER) {
run = *buf++ + 1;
if (run != 1)
value = *buf++;