[FFmpeg-soc] [soc]: r3732 - libavfilter/vf_fps.c

vitor subversion at mplayerhq.hu
Mon Sep 8 18:48:21 CEST 2008


Author: vitor
Date: Mon Sep  8 18:48:20 2008
New Revision: 3732

Log:
Work around GCC bug

Modified:
   libavfilter/vf_fps.c

Modified: libavfilter/vf_fps.c
==============================================================================
--- libavfilter/vf_fps.c	(original)
+++ libavfilter/vf_fps.c	Mon Sep  8 18:48:20 2008
@@ -23,9 +23,6 @@
 
 #include "avfilter.h"
 
-/* default to 25 fps */
-static const AVRational default_rate = (AVRational) {25,1};
-
 typedef struct {
     uint64_t timebase;
     uint64_t pts;
@@ -36,6 +33,7 @@ typedef struct {
 
 static int init(AVFilterContext *ctx, const char *args, void *opaque)
 {
+    AVRational default_rate = (AVRational) {25, 1};
     FPSContext *fps = ctx->priv;
     AVRational rate;
 



More information about the FFmpeg-soc mailing list