Commit 566df2ee authored by Aneesh Dogra's avatar Aneesh Dogra Committed by Anton Khirnov

sunrast: use RLE trigger macro inplace of the hard coded value.

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 1a58daed
......@@ -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++;
......
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