On Fri, Oct 9, 2015 at 7:44 PM, Anton Khirnov <[email protected]> wrote:
> Quoting Vittorio Giovara (2015-10-09 14:14:08)
>> Signed-off-by: Vittorio Giovara <[email protected]>
>> ---
>> +    /* Handle midstream parameter change */
>> +    if (ctx->inflated_size != avctx->width * avctx->height * 4) {
>
> If the dimensions can change mid-stream, why do you check them in
> init()?

Because i use them to check that tiles don't overwrite past the bounds
of the frame and as a estimate for the uncompressed data array.
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to