mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
libavcodec/mlp_parser.c: fix a use_of_uninitialized_value in target_dec_fuzzer.
the target_dec_fuzzer is checking for the avpkt.data pointer but if the mlp parser cannot combine the frame, the poutbuf is not set. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
d5422a14e2
commit
3dc24b3379
@ -64,6 +64,7 @@ static int mlp_parse(AVCodecParserContext *s,
|
||||
s->key_frame = 0;
|
||||
|
||||
*poutbuf_size = 0;
|
||||
*poutbuf = NULL;
|
||||
if (buf_size == 0)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user