[FFmpeg-cvslog] r11986 - trunk/libavfilter/avfilter.c
vitor
subversion
Fri Feb 15 22:36:29 CET 2008
Author: vitor
Date: Fri Feb 15 22:36:29 2008
New Revision: 11986
Log:
cosmetics: vertical alignment
Commited in SoC by Bobby Bingham on 2007-07-14 17:34:04
Modified:
trunk/libavfilter/avfilter.c
Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c (original)
+++ trunk/libavfilter/avfilter.c Fri Feb 15 22:36:29 2008
@@ -46,14 +46,14 @@ AVFilterPicRef *avfilter_default_get_vid
AVFilterPic *pic = av_mallocz(sizeof(AVFilterPic));
AVFilterPicRef *ref = av_mallocz(sizeof(AVFilterPicRef));
- ref->pic = pic;
- ref->w = link->w;
- ref->h = link->h;
+ ref->pic = pic;
+ ref->w = link->w;
+ ref->h = link->h;
ref->perms = perms;
pic->refcount = 1;
- pic->format = link->format;
- pic->free = avfilter_default_free_video_buffer;
+ pic->format = link->format;
+ pic->free = avfilter_default_free_video_buffer;
avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
memcpy(ref->data, pic->data, sizeof(pic->data));
@@ -69,7 +69,7 @@ void avfilter_default_start_frame(AVFilt
link->cur_pic = picref;
if(out) {
- out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE);
+ out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE);
out->outpic->pts = picref->pts;
avfilter_start_frame(out, avfilter_ref_pic(out->outpic, ~0));
}
@@ -136,10 +136,10 @@ int avfilter_link(AVFilterContext *src,
src->outputs[srcpad] =
dst->inputs[dstpad] = link = av_malloc(sizeof(AVFilterLink));
- link->src = src;
- link->dst = dst;
- link->srcpad = srcpad;
- link->dstpad = dstpad;
+ link->src = src;
+ link->dst = dst;
+ link->srcpad = srcpad;
+ link->dstpad = dstpad;
link->cur_pic = NULL;
/* find a format both filters support - TODO: auto-insert conversion filter */
More information about the ffmpeg-cvslog
mailing list