aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-01-12 20:34:34 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-01-12 20:34:34 +0000
commit90993b3848e2a58cba249ab40b1e88bfc482e214 (patch)
tree85e99425d5417013d9ce81024291905572429dff /libavfilter/avfilter.c
parent689a5f493b62574b6e36cb1fd14d067b81847713 (diff)
downloadffmpeg-90993b3848e2a58cba249ab40b1e88bfc482e214.tar.gz
Reindent after the last commit, while at it also add some spaces for
improving readability. Originally committed as revision 16566 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index ae424c4735..1dbc01622b 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -350,16 +350,16 @@ AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name)
ret->input_count = pad_count(filter->inputs);
if (ret->input_count) {
- ret->input_pads = av_malloc(sizeof(AVFilterPad) * ret->input_count);
- memcpy(ret->input_pads, filter->inputs, sizeof(AVFilterPad)*ret->input_count);
- ret->inputs = av_mallocz(sizeof(AVFilterLink*) * ret->input_count);
+ ret->input_pads = av_malloc(sizeof(AVFilterPad) * ret->input_count);
+ memcpy(ret->input_pads, filter->inputs, sizeof(AVFilterPad) * ret->input_count);
+ ret->inputs = av_mallocz(sizeof(AVFilterLink*) * ret->input_count);
}
ret->output_count = pad_count(filter->outputs);
if (ret->output_count) {
- ret->output_pads = av_malloc(sizeof(AVFilterPad) * ret->output_count);
- memcpy(ret->output_pads, filter->outputs, sizeof(AVFilterPad)*ret->output_count);
- ret->outputs = av_mallocz(sizeof(AVFilterLink*) * ret->output_count);
+ ret->output_pads = av_malloc(sizeof(AVFilterPad) * ret->output_count);
+ memcpy(ret->output_pads, filter->outputs, sizeof(AVFilterPad) * ret->output_count);
+ ret->outputs = av_mallocz(sizeof(AVFilterLink*) * ret->output_count);
}
return ret;