diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:36:29 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:36:29 +0000 |
commit | 1653c11f236a0f3eeee77984a56bfb787244a1bc (patch) | |
tree | 396698d5133f25cc2cd0eae3b58de0f160e06fd5 /libavfilter/avfilter.c | |
parent | af838d4c1e73e326d4a05d83b798e713639a7837 (diff) | |
download | ffmpeg-1653c11f236a0f3eeee77984a56bfb787244a1bc.tar.gz |
cosmetics: vertical alignment
Commited in SoC by Bobby Bingham on 2007-07-14 17:34:04
Originally committed as revision 11986 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 2f43a9deae..51fdec0fb2 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -46,14 +46,14 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms) 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(AVFilterLink *link, AVFilterPicRef *picref) 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, unsigned srcpad, 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 */ |