[FFmpeg-devel] [PATCH] avcodec: add QOI decoder and demuxer and parser and encoder and muxer
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri Jun 3 19:17:15 EEST 2022
Paul B Mahol:
>
> +
> + packet_size = avctx->width * avctx->height * 16LL;
> + if ((ret = ff_alloc_packet(avctx, pkt, packet_size)) < 0)
> + return ret;
> +
Where does 16 come from? Looking at the code, the factor should be
channels + 1 per pixel (and 14 + 8 byte for header + footer). Or am I
missing something?
- Andreas
More information about the ffmpeg-devel
mailing list