Hi, On Fri, Oct 14, 2011 at 7:30 AM, Janne Grunau <[email protected]> wrote: > --- > libavcodec/proresdec.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c > index 83c083f..2e0cbf1 100644 > --- a/libavcodec/proresdec.c > +++ b/libavcodec/proresdec.c > @@ -71,6 +71,7 @@ typedef struct { > int slice_height_factor; > int num_x_mbs; > int num_y_mbs; > + int alpha_info; > } 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->alpha_info = buf[17] & 0xf; > + if (ctx->alpha_info) > + av_log_missing_feature(avctx, "alpha channel", 0);
Fine for now. Why don't we just decode the alpha? It works exactly like the Y plane. I know it's a little work, but then everything is. :-). Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
