mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
prores: add missing feature warning for alpha
This commit is contained in:
parent
7ad06beb2c
commit
19ec283f49
@ -71,6 +71,7 @@ typedef struct {
|
|||||||
int slice_height_factor;
|
int slice_height_factor;
|
||||||
int num_x_mbs;
|
int num_x_mbs;
|
||||||
int num_y_mbs;
|
int num_y_mbs;
|
||||||
|
int alpha_info;
|
||||||
} ProresContext;
|
} ProresContext;
|
||||||
|
|
||||||
|
|
||||||
@ -189,6 +190,10 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf,
|
|||||||
ctx->picture.top_field_first = ctx->frame_type & 1;
|
ctx->picture.top_field_first = ctx->frame_type & 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ctx->alpha_info = buf[17] & 0xf;
|
||||||
|
if (ctx->alpha_info)
|
||||||
|
av_log_missing_feature(avctx, "alpha channel", 0);
|
||||||
|
|
||||||
ctx->qmat_changed = 0;
|
ctx->qmat_changed = 0;
|
||||||
ptr = buf + 20;
|
ptr = buf + 20;
|
||||||
flags = buf[19];
|
flags = buf[19];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user