projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02e8df
)
mpeg12: Pad framerate tab to 16 entries.
author
Alex Converse
<alex.converse@gmail.com>
Fri, 27 Jan 2012 23:50:24 +0000
(15:50 -0800)
committer
Alex Converse
<alex.converse@gmail.com>
Mon, 30 Jan 2012 18:19:01 +0000
(10:19 -0800)
There are many places where we read an unchecked 4-bit index into it.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/mpeg12data.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12data.c
b/libavcodec/mpeg12data.c
index
5ac8c24
..
a0dd6e5
100644
(file)
--- a/
libavcodec/mpeg12data.c
+++ b/
libavcodec/mpeg12data.c
@@
-305,7
+305,7
@@
const uint8_t ff_mpeg12_mbMotionVectorTable[17][2] = {
{ 0xc, 10 },
};
-const AVRational avpriv_frame_rate_tab[] = {
+const AVRational avpriv_frame_rate_tab[
16
] = {
{ 0, 0},
{24000, 1001},
{ 24, 1},