vfilter/vf_yadif: fix request_frame after 0f9f24c9
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2014 14:07:50 +0000 (16:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2014 14:14:32 +0000 (16:14 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_yadif.c

index 22a28be..70670c3 100644 (file)
@@ -400,7 +400,7 @@ static int request_frame(AVFilterLink *link)
         } else if (ret < 0) {
             return ret;
         }
-    } while (!yadif->cur);
+    } while (!yadif->prev);
 
     return 0;
 }