]> git.sesse.net Git - ffmpeg/commit
avcodec/wrapped_avframe: allocate a buffer with padding
authorMarton Balint <cus@passwd.hu>
Tue, 21 Feb 2017 22:50:56 +0000 (23:50 +0100)
committerMarton Balint <cus@passwd.hu>
Wed, 22 Feb 2017 22:11:42 +0000 (23:11 +0100)
commit436f00b10c062b75c7aab276c4a7d64524bd0444
tree440d8d4c30843fb2af69e48246bc8926df9f096c
parent039011b6b0c2bf8e7a5cfa46f7428db1c5b246ac
avcodec/wrapped_avframe: allocate a buffer with padding

This ensures that the wrapped avframe will not get reallocated later, which
would invalidate internal references such as extended data.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavcodec/wrapped_avframe.c