From c7251fec39c5b54470bb295acfc81d89683843c7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 22 Apr 2014 22:44:14 +0200 Subject: [PATCH] avutil: move av_get_time_base_q() after include rational.h Fix compilation Signed-off-by: Michael Niedermayer --- libavutil/avutil.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavutil/avutil.h b/libavutil/avutil.h index 3b644f9941..5dfbcaf845 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -246,11 +246,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); - /** * @} * @} @@ -295,6 +290,12 @@ char av_get_picture_type_char(enum AVPictureType pict_type); #include "log.h" #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. */