[FFmpeg-cvslog] r12753 - trunk/libavfilter/avfiltergraph.c

vitor subversion
Fri Apr 4 22:09:45 CEST 2008


Author: vitor
Date: Fri Apr  4 22:09:45 2008
New Revision: 12753

Log:
Use sizeof(var) instead of sizeof(type)
Commited in SoC by Vitor Sessak on 2008-04-03 19:53:18


Modified:
   trunk/libavfilter/avfiltergraph.c

Modified: trunk/libavfilter/avfiltergraph.c
==============================================================================
--- trunk/libavfilter/avfiltergraph.c	(original)
+++ trunk/libavfilter/avfiltergraph.c	Fri Apr  4 22:09:45 2008
@@ -76,7 +76,7 @@ static int query_formats(AVFilterGraph *
                                            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);




More information about the ffmpeg-cvslog mailing list