diff --git a/doc/APIchanges b/doc/APIchanges
index 453707cbadd22af471640d47263ae0c81e8cf1cc..880e1d325f99a63f86b683fa88969366a442dff5 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil:     2012-10-22
 
 API changes, most recent first:
 
+2014-04-xx - xxxxxxx - lavu 53.13.0 / 52.78.100 - avutil.h
+  Add av_get_time_base_q().
+
 2014-04-xx - xxxxxxx - lavu 53.12.0 / 52.77.100 - crc.h
   Add AV_CRC_16_ANSI_LE crc variant.
 
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index d6566c116362f72a757a0333db2dea1023ff5bb8..3b644f9941dc44d8316f7db23f9b60d3e4256c83 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -246,6 +246,11 @@ 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);
+
 /**
  * @}
  * @}
@@ -282,6 +287,7 @@ char av_get_picture_type_char(enum AVPictureType pict_type);
 
 #include "common.h"
 #include "error.h"
+#include "rational.h"
 #include "version.h"
 #include "macros.h"
 #include "mathematics.h"
diff --git a/libavutil/utils.c b/libavutil/utils.c
index 4c82503d9c6f9980ade4dae90cf8acc24a2d22b1..6c9b493a8f9bc68d1ebcb6524068be149fdd8680 100644
--- a/libavutil/utils.c
+++ b/libavutil/utils.c
@@ -113,3 +113,8 @@ unsigned av_int_list_length_for_size(unsigned elsize,
     }
     return i;
 }
+
+AVRational av_get_time_base_q(void)
+{
+    return (AVRational){1, AV_TIME_BASE};
+}
diff --git a/libavutil/version.h b/libavutil/version.h
index 02015e302550fd649422f8810e826873ddac9264..832892b862dd73117f5e477e70f560316e0856bc 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -56,7 +56,7 @@
  */
 
 #define LIBAVUTIL_VERSION_MAJOR  52
-#define LIBAVUTIL_VERSION_MINOR  77
+#define LIBAVUTIL_VERSION_MINOR  78
 #define LIBAVUTIL_VERSION_MICRO 100
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \