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:
6f1b296
)
avcodec/lagarith: use init_get_bits8()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 Dec 2013 12:49:49 +0000
(13:49 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 Dec 2013 12:49:49 +0000
(13:49 +0100)
Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/lagarith.c
patch
|
blob
|
history
diff --git
a/libavcodec/lagarith.c
b/libavcodec/lagarith.c
index
66346d0
..
0e6bb01
100644
(file)
--- a/
libavcodec/lagarith.c
+++ b/
libavcodec/lagarith.c
@@
-444,7
+444,7
@@
static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst,
offset += 4;
}
- init_get_bits
(&gb, src + offset, (src_size - offset) * 8
);
+ init_get_bits
8(&gb, src + offset, src_size - offset
);
if (lag_read_prob_header(&rac, &gb) < 0)
return -1;