mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
avformat/lafdec: check for not supported bpp
This commit is contained in:
parent
332a4d798d
commit
4b922218e9
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue