|
|
@ -71,8 +71,7 @@ int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* XXX: make it use less memory */ |
|
|
|
/* XXX: make it use less memory */ |
|
|
|
static int av_mpeg4_decode_header(AVCodecParserContext *s1, |
|
|
|
static int mpeg4_decode_header(AVCodecParserContext *s1, AVCodecContext *avctx, |
|
|
|
AVCodecContext *avctx, |
|
|
|
|
|
|
|
const uint8_t *buf, int buf_size) |
|
|
|
const uint8_t *buf, int buf_size) |
|
|
|
{ |
|
|
|
{ |
|
|
|
struct Mp4vParseContext *pc = s1->priv_data; |
|
|
|
struct Mp4vParseContext *pc = s1->priv_data; |
|
|
@ -130,7 +129,7 @@ static int mpeg4video_parse(AVCodecParserContext *s, |
|
|
|
return buf_size; |
|
|
|
return buf_size; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
av_mpeg4_decode_header(s, avctx, buf, buf_size); |
|
|
|
mpeg4_decode_header(s, avctx, buf, buf_size); |
|
|
|
|
|
|
|
|
|
|
|
*poutbuf = buf; |
|
|
|
*poutbuf = buf; |
|
|
|
*poutbuf_size = buf_size; |
|
|
|
*poutbuf_size = buf_size; |
|
|
|