Message ID | 20220502033630.70383-2-mypopydev@gmail.com |
---|---|
State | Accepted |
Commit | 68a7df5e9d737486892b0a924748e1c47f870d97 |
Headers | show |
Series | [FFmpeg-devel,1/3] lavc/libuavs3d: fix incorrect comments | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 7aaf3f2bcf..6c69c2c94e 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -1177,6 +1177,11 @@ static int decode_seq_header(AVSContext *h) int ret; h->profile = get_bits(&h->gb, 8); + if (h->profile != 0x20) { + avpriv_report_missing_feature(h->avctx, + "only supprt JiZhun profile"); + return AVERROR_PATCHWELCOME; + } h->level = get_bits(&h->gb, 8); skip_bits1(&h->gb); //progressive sequence