Allow filters to set the requirements on permissions for incoming buffers.
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:59:38 +0000 (21:59 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:59:38 +0000 (21:59 +0000)
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26

Originally committed as revision 12065 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/defaults.c

index 9976560..e50543b 100644 (file)
@@ -59,8 +59,6 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref)
     if(link->dst->output_count)
         out = link->dst->outputs[0];
 
-    link->cur_pic = picref;
-
     if(out) {
         out->outpic      = avfilter_get_video_buffer(out, AV_PERM_WRITE);
         out->outpic->pts = picref->pts;