[FFmpeg-cvslog] apedec: fix handling of packet sizes that are not a multiple of 4 bytes

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 4 12:02:34 CET 2012


On 4 Feb 2012, at 03:31, git at videolan.org (Justin Ruggles) wrote:
> +        buf_size = avpkt->size & ~3;
> +        if (buf_size != avpkt->size) {
> +            av_log(avctx, AV_LOG_WARNING, "packet size is not a multiple of 4. "
> +                   "extra bytes at the end will be skipped.\n");
> +        }
> 
> -        tmp_data = av_realloc(s->data, FFALIGN(buf_size, 4));

Why does the code no longer use FFALIGN?
Is there some passive-aggressive conspiracy against that macro?


More information about the ffmpeg-cvslog mailing list