History

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

Vitor Sessak committed 18 years ago

Commit 1653c111 parent af838d41 file · +10 −10Browse files

Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.c+10−10
@@ -46,14 +46,14 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms) · 45 unmodified lines
4646 AVFilterPic *pic = av_mallocz(sizeof(AVFilterPic));
4747 AVFilterPicRef *ref = av_mallocz(sizeof(AVFilterPicRef));
4848
49− ref->pic = pic;
50− ref->w = link->w;
51− ref->h = link->h;
49+ ref->pic = pic;
50+ ref->w = link->w;
51+ ref->h = link->h;
5252 ref->perms = perms;
5353
5454 pic->refcount = 1;
55− pic->format = link->format;
56− pic->free = avfilter_default_free_video_buffer;
55+ pic->format = link->format;
56+ pic->free = avfilter_default_free_video_buffer;
5757 avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
5858
5959 memcpy(ref->data, pic->data, sizeof(pic->data));
@@ -69,7 +69,7 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref) · 9 unmodified lines
6969 link->cur_pic = picref;
7070
7171 if(out) {
72− out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE);
72+ out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE);
7373 out->outpic->pts = picref->pts;
7474 avfilter_start_frame(out, avfilter_ref_pic(out->outpic, ~0));
7575 }
@@ -136,10 +136,10 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, · 60 unmodified lines
136136 src->outputs[srcpad] =
137137 dst->inputs[dstpad] = link = av_malloc(sizeof(AVFilterLink));
138138
139− link->src = src;
140− link->dst = dst;
141− link->srcpad = srcpad;
142− link->dstpad = dstpad;
139+ link->src = src;
140+ link->dst = dst;
141+ link->srcpad = srcpad;
142+ link->dstpad = dstpad;
143143 link->cur_pic = NULL;
144144
145145 /* find a format both filters support - TODO: auto-insert conversion filter */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t