>
> 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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to