|
|
@@ -1637,6 +1637,9 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *got_frame_ptr, |
|
|
uint32_t header; |
|
|
uint32_t header; |
|
|
int out_size; |
|
|
int out_size; |
|
|
|
|
|
|
|
|
|
|
|
while(buf_size && !*buf) |
|
|
|
|
|
buf++; |
|
|
|
|
|
|
|
|
if (buf_size < HEADER_SIZE) |
|
|
if (buf_size < HEADER_SIZE) |
|
|
return AVERROR_INVALIDDATA; |
|
|
return AVERROR_INVALIDDATA; |
|
|
|
|
|
|
|
|
|