Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e67b0f99
Commit
e67b0f99
authored
Oct 07, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gxf: Include the right header for the avpriv_frame_rate_tab declaration
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
31b2262d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gxf.c
libavformat/gxf.c
+1
-1
No files found.
libavformat/gxf.c
View file @
e67b0f99
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment