summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_tinterlace.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:50:23 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:42 +0200
commit71adb740591ea0b604d41bab3c69786cdb9be99e (patch)
treec2428aca474f41a382308e9013f2de8ea4d03a77 /libavfilter/vf_tinterlace.c
parentd37f823207a88858d9545071032171caba0a32f5 (diff)
downloadffmpeg-streaming-71adb740591ea0b604d41bab3c69786cdb9be99e.zip
ffmpeg-streaming-71adb740591ea0b604d41bab3c69786cdb9be99e.tar.gz
vf_tinterlace: leave harmless permissions alone.
Diffstat (limited to 'libavfilter/vf_tinterlace.c')
-rw-r--r--libavfilter/vf_tinterlace.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud