Alex Converse <[email protected]> writes: > 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 | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/mpeg12data.c b/libavcodec/mpeg12data.c > index 5ac8c24..1c0f223 100644 > --- a/libavcodec/mpeg12data.c > +++ b/libavcodec/mpeg12data.c > @@ -323,6 +323,7 @@ const AVRational avpriv_frame_rate_tab[] = { > { 12, 1}, > { 15, 1}, > { 0, 0}, > + { 0, 0}, > };
Defining it with an explicit [16] would IMO be somewhat preferable. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
