Commit 80c873a8 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ff_h264_decode_sei: fix integer overflow with size.

This issue is hypothetical and no testcase is available.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 800ffa1f
......@@ -244,7 +244,8 @@ static int decode_frame_packing(H264Context *h, int size){
int ff_h264_decode_sei(H264Context *h){
while (get_bits_left(&h->gb) > 16) {
int size, type;
int type;
unsigned size;
type=0;
do{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment