[FFmpeg-devel] [PATCH] Set type on buffer in get_video_buffer

Michael Niedermayer michaelni
Wed Aug 11 17:55:42 CEST 2010


On Wed, Aug 11, 2010 at 06:37:14AM -0700, S.N. Hemanth Meenakshisundaram wrote:
> 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.

ret==NULL

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100811/6f69c781/attachment.pgp>



More information about the ffmpeg-devel mailing list