[FFmpeg-devel] [PATCH]lavc/flicvideo: Implement padding in COPY chunks.
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Mar 26 15:23:24 CET 2016
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> > + if (s->avctx->width & 3)
> > + bytestream2_skip(&g2, 4 - (s->avctx->width & 3));
>
> Maybe it's more reliable/clear to keep like that
Yes, it definitely is imo;-)
> but I think this could also be written as
> bytestream2_skip(&g2, -s-≥avctx->width & 3);
> Should be fine otherwise I think.
Thank you, patch applied.
Carl Eugen
More information about the ffmpeg-devel
mailing list