diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:09:45 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:09:45 +0000 |
commit | 51bf654d796cb59834f050adcccf1ba6bba2abe7 (patch) | |
tree | 9b4e08b57204ac62790a01f65eba432d38ec05fb | |
parent | a6f88fbc8f95064a8851fe66a37cb493988bd382 (diff) | |
download | ffmpeg-51bf654d796cb59834f050adcccf1ba6bba2abe7.tar.gz |
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
-rw-r--r-- | libavfilter/avfiltergraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 1da5b7b912..7e040a4f4f 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -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); |