OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a58dae
)
sunrast: use RLE trigger macro inplace of the hard coded value.
author
Aneesh Dogra
<lionaneesh@gmail.com>
Fri, 17 Feb 2012 20:34:24 +0000
(
02:04
+0530)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 19 Feb 2012 14:55:57 +0000
(15:55 +0100)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/sunrast.c
patch
|
blob
|
history
diff --git
a/libavcodec/sunrast.c
b/libavcodec/sunrast.c
index
8754fc5
..
fef17b4
100644
(file)
--- 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++;