diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-08-14 20:50:23 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-17 20:26:42 +0400 |
commit | 71adb740591ea0b604d41bab3c69786cdb9be99e (patch) | |
tree | c2428aca474f41a382308e9013f2de8ea4d03a77 /libavfilter/vf_tinterlace.c | |
parent | d37f823207a88858d9545071032171caba0a32f5 (diff) |
vf_tinterlace: leave harmless permissions alone.
Diffstat (limited to 'libavfilter/vf_tinterlace.c')
-rw-r--r-- | libavfilter/vf_tinterlace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 559f64b25b..5b03b81bf1 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); |