[FFmpeg-cvslog] lavfi/deshake: switch inverted comments.
Clément Bœsch
git at videolan.org
Thu Dec 6 16:20:47 CET 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Dec 6 16:15:03 2012 +0100| [03778575b99fd04e95a03786f5109e5d8293eb13] | committer: Clément Bœsch
lavfi/deshake: switch inverted comments.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=03778575b99fd04e95a03786f5109e5d8293eb13
---
libavfilter/vf_deshake.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 68d7267..a12de8e 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -528,11 +528,11 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
avfilter_transform(in->data[1], out->data[1], in->linesize[1], out->linesize[1], CHROMA_WIDTH(link), CHROMA_HEIGHT(link), matrix, INTERPOLATE_BILINEAR, deshake->edge);
avfilter_transform(in->data[2], out->data[2], in->linesize[2], out->linesize[2], CHROMA_WIDTH(link), CHROMA_HEIGHT(link), matrix, INTERPOLATE_BILINEAR, deshake->edge);
- // Store the current frame as the reference frame for calculating the
- // motion of the next frame
+ // Cleanup the old reference frame
avfilter_unref_buffer(deshake->ref);
- // Cleanup the old reference frame
+ // Store the current frame as the reference frame for calculating the
+ // motion of the next frame
deshake->ref = in;
return ff_filter_frame(outlink, out);
More information about the ffmpeg-cvslog
mailing list