diff options
author | maryam ebrahimzadeh <me22bee@outlook.com> | 2021-08-04 16:15:18 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:59:05 +0200 |
commit | db3dd0545cdf690ee22f8b9807096d580bb8eb24 (patch) | |
tree | a608f7fccf3e1816b2004e0b7379b6c709879f73 /libavcodec/profiles.c | |
parent | ad3df92f538abae3578e6be4991879b56f02d6cd (diff) | |
download | ffmpeg-db3dd0545cdf690ee22f8b9807096d580bb8eb24.tar.gz |
avformat/adtsenc: return value check for init_get_bits in adts_decode_extradata
As the second argument for init_get_bits (buf) can be crafted, a return value check for this function call is necessary.
'buf' is part of 'AVPacket pkt'.
replace init_get_bits with init_get_bits8.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/profiles.c')
0 files changed, 0 insertions, 0 deletions