Browse Source

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

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.11
Aneesh Dogra Anton Khirnov 14 years ago
parent
commit
566df2eea2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/sunrast.c

+ 1
- 1
libavcodec/sunrast.c View File

@@ -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++;


Loading…
Cancel
Save