mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
sunrast: use RLE trigger macro inplace of the hard coded value.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
1a58daed0f
commit
566df2eea2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue