Justin Ruggles <[email protected]> writes:

> On 12/09/2011 07:45 AM, Kostya Shishkov wrote:
>
>> +    *data_size      = sizeof(AVFrame);
>
> I'm not objecting to the patch, but I've never understood why we do
> this. This is not really data_size, it's treated as a boolean value and
> is used for got_picture_ptr. So why the heck do all the video decoders
> use sizeof(AVFrame)?

Cargo cult.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to