diff options
author | maryam ebrahimzadeh <me22bee@outlook.com> | 2021-08-04 16:15:18 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-06 13:56:53 +0200 |
commit | 5976047ae0227fe4fdaea6b7d1bf6eb671984da6 (patch) | |
tree | def31638b0f56b74f84172955d5de02404f41239 /libavcodec/alpha | |
parent | 5e2aae4c730f2434bc5264ac7b2418f51ef63c7a (diff) | |
download | ffmpeg-5976047ae0227fe4fdaea6b7d1bf6eb671984da6.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/alpha')
0 files changed, 0 insertions, 0 deletions