[FFmpeg-devel] FFmpeg 5.1

Timo Rothenpieler timo at rothenpieler.org
Fri Jul 8 13:23:14 EEST 2022


On 08/07/2022 12:17, Timo Rothenpieler wrote:
>> The lavfi changes, more specifically wrapped_avframe, still rely on 
>> sizeof(AVFrame) being used outside lavu. We really need to stop 
>> spreading its use and find a way to change this behavior.
>> I have tried like two different solutions and both were rejected, so 
>> it's not going to be me.
> 
> wrapped_avframe is used all over the place in lavd already.
> Is that really a problem, as long as it's within another libav* library?
> Given we don't support mix-matching library versions in the first place.

Also, thinking about it, wrapped_avframe does not actually rely on the 
size of AVFrame at all.
It's only set on the buffer as a purely informational thing.
The only actual data in the buffer is a pointer to the frame.
So more accurately, the size of the wrapped package could be sizeof(void*).


More information about the ffmpeg-devel mailing list