diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-01-20 05:10:32 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-20 14:06:52 +0100 |
commit | 01050448cfbc0ba5a3dc83138c44848692be7f9c (patch) | |
tree | c276fe78189774a8302106e925d3d65fd7a0e1b2 /libavcodec/mjpega_dump_header_bsf.c | |
parent | 8d0631c8fa890a1a01c7289c0bf8b2ff44fe5b9c (diff) | |
download | ffmpeg-01050448cfbc0ba5a3dc83138c44848692be7f9c.tar.gz |
get_bits: change the failure condition in init_get_bits
Too much code relies in having init_get_bits fed with a valid
buffer and set its dimension to 0.
Check for NULL buffer instead.
(cherry picked from commit 4603ec85ed620e585fc6e2e072c99858ed421855)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/mjpega_dump_header_bsf.c')
0 files changed, 0 insertions, 0 deletions