Browse Source

Use sizeof(var) instead of sizeof(type)

Commited in SoC by Vitor Sessak on 2008-04-03 19:53:18

Originally committed as revision 12753 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
51bf654d79
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avfiltergraph.c

+ 1
- 1
libavfilter/avfiltergraph.c View File

@@ -76,7 +76,7 @@ static int query_formats(AVFilterGraph *graph)
link->out_formats)) {
AVFilterContext *scale;
/* couldn't merge format lists. auto-insert scale filter */
snprintf(inst_name, 30, "auto-inserted scaler %d",
snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d",
scaler_count);
scale =
avfilter_open(avfilter_get_by_name("scale"),inst_name);


Loading…
Cancel
Save