avformat/lafdec: check for not supported bpp

release/6.0
Paul B Mahol 2 years ago
parent 332a4d798d
commit 4b922218e9
  1. 2
      libavformat/lafdec.c

@ -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…
Cancel
Save