[FFmpeg-devel] [PATCH] avfilter: align data frame when needed

Kieran Kunhya kierank at obe.tv
Fri May 5 20:53:24 EEST 2017


>
> Well, this instance is exactly a case like that. If the alignment
> requirements are not documented, then an application can do things in a
> way similar to take_samples() right now, and result in a crash. And
> there is no blaming the application, it followed the documentation.
>
> The bug is not in take_samples(), the bug is in all the filters and
> codecs that require alignment without documenting it.
>

I sent a patch about this nearly three years ago, it wasn't applied for
whatever reason.
This is pretty common if you don't use av_malloc.

Kieran


More information about the ffmpeg-devel mailing list