aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authormaryam ebrahimzadeh <me22bee@outlook.com>2021-08-04 16:15:18 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2021-10-09 22:02:21 +0200
commit8028e18988445e13102d6f65b6f19b6805735698 (patch)
tree283c64d60e5d3fd008d0171cee9ffea9c8c93086 /doc/examples/decoding_encoding.c
parent41d43bf61032ca747c8aa226e62c2635eab9ab86 (diff)
downloadffmpeg-8028e18988445e13102d6f65b6f19b6805735698.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 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions