Browse Source

vf_tinterlace: leave harmless permissions alone.

tags/n1.0
Nicolas George 13 years ago
parent
commit
71adb74059
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_tinterlace.c

+ 1
- 1
libavfilter/vf_tinterlace.c View File

@@ -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);


Loading…
Cancel
Save