1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-11 23:27:55 +02:00

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
This commit is contained in:
Vitor Sessak 2008-04-04 20:09:45 +00:00
parent a6f88fbc8f
commit 51bf654d79

View File

@ -76,7 +76,7 @@ static int query_formats(AVFilterGraph *graph)
link->out_formats)) { link->out_formats)) {
AVFilterContext *scale; AVFilterContext *scale;
/* couldn't merge format lists. auto-insert scale filter */ /* 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); scaler_count);
scale = scale =
avfilter_open(avfilter_get_by_name("scale"),inst_name); avfilter_open(avfilter_get_by_name("scale"),inst_name);