[FFmpeg-cvslog] vf_tinterlace: leave harmless permissions alone.

Nicolas George git at videolan.org
Fri Aug 17 18:44:19 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue Aug 14 18:50:23 2012 +0200| [71adb740591ea0b604d41bab3c69786cdb9be99e] | committer: Nicolas George

vf_tinterlace: leave harmless permissions alone.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=71adb740591ea0b604d41bab3c69786cdb9be99e
---

 libavfilter/vf_tinterlace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 559f64b..5b03b81 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -294,7 +294,7 @@ static int end_frame(AVFilterLink *inlink)
         break;
     case MODE_INTERLACEX2: /* re-interlace preserving image height, double frame rate */
         /* output current frame first */
-        out = avfilter_ref_buffer(cur, AV_PERM_READ);
+        out = avfilter_ref_buffer(cur, ~AV_PERM_WRITE);
         out->video->interlaced = 1;
 
         ff_start_frame(outlink, out);



More information about the ffmpeg-cvslog mailing list