[FFmpeg-devel] [PATCH] Set type on buffer in get_video_buffer
S.N. Hemanth Meenakshisundaram
smeenaks
Wed Aug 11 15:37:14 CEST 2010
On 08/11/2010 08:27 AM, Michael Niedermayer wrote:
> On Wed, Aug 11, 2010 at 05:44:40AM -0700, S.N. Hemanth Meenakshisundaram wrote:
>
>
>> avfilter.c | 2 ++
>> 1 file changed, 2 insertions(+)
>> ae7a0fdf95a035a1e7900b7582fde4eca06afb6e 0001-Set-type-on-buffer-in-get_video_buffer.patch
>> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
>> index 468e5f7..4ec6efb 100644
>> --- a/libavfilter/avfilter.c
>> +++ b/libavfilter/avfilter.c
>> @@ -211,6 +211,8 @@ AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms, int
>> if(!ret)
>> ret = avfilter_default_get_video_buffer(link, perms, w, h);
>>
>> + ret->type = AVMEDIA_TYPE_VIDEO;
>>
> segfault
>
> [...]
>
>
Is this segfaulting after "Separate video specific BufferRef properties
into VideoProps". I sent this as a separate patch since Stefano has
applied "Separate video specific BufferRef properties into VideoProps".
It passes make test here.
Regards,
Hemanth
More information about the ffmpeg-devel
mailing list