mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-04 01:36:07 +00:00
avformat/lafdec: check for not supported bpp
This commit is contained in:
parent
332a4d798d
commit
4b922218e9
@ -132,6 +132,8 @@ static int laf_read_header(AVFormatContext *ctx)
|
||||
codec_id = AV_CODEC_ID_PCM_S24LE;
|
||||
bpp = 3;
|
||||
break;
|
||||
default:
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
s->index = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user