ons 2017-12-27 klockan 19:21 +0100 skrev Paul B Mahol: > > > +static int filter_frame(AVFilterLink *inlink, AVFrame *in) > +{ > + AVFilterContext *ctx = inlink->dst; > + AVFilterLink *outlink = ctx->outputs[0]; > + EntropyContext *s = ctx->priv; > + int plane, y, x; > + > + for (plane = 0; plane < s->nb_planes; plane++) { > + int cidx = s->is_rgb ? s->rgba_map[plane] : plane; > + uint8_t *src = in->data[plane]; > + float total = s->planewidth[plane] * s->planeheight[plane];
Are 0x0 pictures possible? I think there's a check somewhere, but I'm not 100% sure /Tomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel