[FFmpeg-cvslog] lavfi/curves: avoid ctx pointer indirection.

Clément Bœsch git at videolan.org
Fri May 10 23:50:39 CEST 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Fri May 10 23:47:28 2013 +0200| [a9705e4de9c069da18707c1a41aad8a60b287674] | committer: Clément Bœsch

lavfi/curves: avoid ctx pointer indirection.

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

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

diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index 482a046..faa4d66 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -478,7 +478,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     int x, y, direct = 0;
     AVFilterContext *ctx = inlink->dst;
     CurvesContext *curves = ctx->priv;
-    AVFilterLink *outlink = inlink->dst->outputs[0];
+    AVFilterLink *outlink = ctx->outputs[0];
     AVFrame *out;
     uint8_t *dst;
     const uint8_t *src;



More information about the ffmpeg-cvslog mailing list