[FFmpeg-cvslog] gxf: Include the right header for the avpriv_frame_rate_tab declaration

Martin Storsjö git at videolan.org
Mon Oct 8 13:21:15 CEST 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sun Oct  7 12:42:54 2012 +0300| [e67b0f99520eb8154f5e703edea6d95bb1de711b] | committer: Martin Storsjö

gxf: Include the right header for the avpriv_frame_rate_tab declaration

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e67b0f99520eb8154f5e703edea6d95bb1de711b
---

 libavformat/gxf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index f215329..04d75bd 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
 }



More information about the ffmpeg-cvslog mailing list