aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc_mpeg2.c
diff options
context:
space:
mode:
authormaryam ebrahimzadeh <me22bee@outlook.com>2021-08-04 16:15:18 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2021-09-12 11:22:04 +0200
commitbc9e0b6cd2839acbac8da3232d715eb66857e453 (patch)
tree7eee204cd60f2f4797c7beffcaa71aab81162dbb /libavcodec/qsvenc_mpeg2.c
parent1e198bd926dc07993dc032e1ebebcbed5ac4feea (diff)
downloadffmpeg-bc9e0b6cd2839acbac8da3232d715eb66857e453.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/qsvenc_mpeg2.c')
0 files changed, 0 insertions, 0 deletions