Browse Source

More cosmetics: make indentation more consistent

Commited in SoC by Vitor Sessak on 2008-04-23 19:14:08

Originally committed as revision 13336 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
487c0e6700
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavfilter/graphparser.c

+ 4
- 4
libavfilter/graphparser.c View File

@@ -169,7 +169,7 @@ typedef struct AVFilterInOut {


static void free_inout(AVFilterInOut *head) static void free_inout(AVFilterInOut *head)
{ {
while (head) {
while(head) {
AVFilterInOut *next = head->next; AVFilterInOut *next = head->next;
av_free(head); av_free(head);
head = next; head = next;
@@ -271,7 +271,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
{ {
int pad = 0; int pad = 0;


while (**buf == '[') {
while(**buf == '[') {
char *name; char *name;
AVFilterInOut *link_to_add; AVFilterInOut *link_to_add;
AVFilterInOut *match; AVFilterInOut *match;
@@ -317,7 +317,7 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs,
{ {
int pad = 0; int pad = 0;


while (**buf == '[') {
while(**buf == '[') {
char *name; char *name;
AVFilterInOut *match; AVFilterInOut *match;


@@ -424,7 +424,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
goto fail; goto fail;
} }
index++; index++;
} while (chr == ',' || chr == ';');
} while(chr == ',' || chr == ';');


if(openLinks && !strcmp(openLinks->name, "out") && currInputs) { if(openLinks && !strcmp(openLinks->name, "out") && currInputs) {
// Last output can be ommitted if it is "[out]" // Last output can be ommitted if it is "[out]"


Loading…
Cancel
Save