avutil: move av_get_time_base_q() after include rational.h
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 22 Apr 2014 20:44:14 +0000 (22:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 22 Apr 2014 20:44:14 +0000 (22:44 +0200)
Fix compilation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/avutil.h

index 3b644f9..5dfbcaf 100644 (file)
@@ -247,11 +247,6 @@ const char *av_get_media_type_string(enum AVMediaType media_type);
 #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
 
 /**
- * Return the fractional representation of the internal time base.
- */
-AVRational av_get_time_base_q(void);
-
-/**
  * @}
  * @}
  * @defgroup lavu_picture Image related
@@ -296,6 +291,12 @@ char av_get_picture_type_char(enum AVPictureType pict_type);
 #include "pixfmt.h"
 
 /**
+ * Return the fractional representation of the internal time base.
+ */
+AVRational av_get_time_base_q(void);
+
+
+/**
  * Return x default pointer in case p is NULL.
  */
 static inline void *av_x_if_null(const void *p, const void *x)