diff options
author | maryam ebrahimzadeh <me22bee@outlook.com> | 2021-08-04 16:15:18 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-08 21:31:50 +0200 |
commit | fb993619d1035fa9646506925ea70fb122038999 (patch) | |
tree | a460bcca76ac9a9d9f37025d9b3882f99fcc783a /LICENSE.md | |
parent | 671e182cc46e73a0b63c3d1f35efab12405f8ea5 (diff) | |
download | ffmpeg-fb993619d1035fa9646506925ea70fb122038999.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 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions