diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-01 02:57:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-01 02:57:27 +0200 |
commit | 7c9d69360cd29415591816b70e722235a4319e08 (patch) | |
tree | 820914eeddc122b5cbdba06ac9505b249cd8d6c9 /libavutil/error.c | |
parent | 2f7bd3b5162c240e62c11cf0373342fa89f26c8f (diff) | |
download | ffmpeg-7c9d69360cd29415591816b70e722235a4319e08.tar.gz |
lavc: check media type of the decoder before calling it.
This fixes a segfault where a video decoder was called
from avcodec_decode_audio*().
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/error.c')
0 files changed, 0 insertions, 0 deletions