GNOME Bugzilla – Bug 681454
[0.11] Should enforce memory alignment in video encoders and audio encoders/decoders
Last modified: 2013-07-17 12:01:50 UTC
+++ This bug was initially created as a clone of Bug #680796 +++ AVPacket memory needs to be 32-byte aligned at least and needs to have FF_INPUT_BUFFER_PADDING_SIZE zero-padding at the end. AVFrame needs to have 32-byte aligned memory addresses in every AVFrame.data[] element, and also needs to use avcodec_align_dimensions2() to get the allocated width/height/linesize/etc The video decoder does all that.
This was fixed by the following commit: commit 83f57519b4cc0a46e882110e6cbc5f4a4591b4e1 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Jun 15 16:37:19 2012 +0200 ffmpegvidenc: Handle allocation queries and improve the padding/direct-rendering handling