summaryrefslogtreecommitdiff
path: root/libavformat/gxf.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-10-07 12:42:54 +0300
committerMartin Storsjö <martin@martin.st>2012-10-07 14:14:37 +0300
commite67b0f99520eb8154f5e703edea6d95bb1de711b (patch)
treeed8def4532fdf51803d0aca46a9d071d9f8ec587 /libavformat/gxf.c
parent31b2262dca9cc77709d20c45610ec8030e7f9257 (diff)
gxf: Include the right header for the avpriv_frame_rate_tab declaration
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r--libavformat/gxf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index f2153297f7..04d75bd4f2 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -23,6 +23,7 @@
#include "avformat.h"
#include "internal.h"
#include "gxf.h"
+#include "libavcodec/mpeg12data.h"
struct gxf_stream_info {
int64_t first_field;
@@ -185,7 +186,6 @@ static void gxf_material_tags(AVIOContext *pb, int *len, struct gxf_stream_info
* @return fps as AVRational, or 0 / 0 if unknown
*/
static AVRational fps_tag2avr(int32_t fps) {
- extern const AVRational avpriv_frame_rate_tab[];
if (fps < 1 || fps > 9) fps = 9;
return avpriv_frame_rate_tab[9 - fps]; // values have opposite order
}