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
d5c0036d
Commit
d5c0036d
authored
Mar 31, 2014
by
Thilo Borgmann
Committed by
Michael Niedermayer
Mar 31, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/qtkit: Fix non-constant initializer element for some clang compilers.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9d013fe8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
qtkit.m
libavdevice/qtkit.m
+3
-3
No files found.
libavdevice/qtkit.m
View file @
d5c0036d
...
@@ -35,11 +35,11 @@
...
@@ -35,11 +35,11 @@
#include "libavutil/time.h"
#include "libavutil/time.h"
#include "avdevice.h"
#include "avdevice.h"
static
const
int
kQTKitTimeBase
=
100
;
#define QTKIT_TIMEBASE 100
static
const
AVRational
kQTKitTimeBase_q
=
{
static
const
AVRational
kQTKitTimeBase_q
=
{
.
num
=
1
,
.
num
=
1
,
.
den
=
kQTKitTimeBase
.
den
=
QTKIT_TIMEBASE
};
};
typedef
struct
typedef
struct
...
@@ -213,7 +213,7 @@ static int qtkit_read_header(AVFormatContext *s)
...
@@ -213,7 +213,7 @@ static int qtkit_read_header(AVFormatContext *s)
goto
fail
;
goto
fail
;
}
}
avpriv_set_pts_info
(
stream
,
64
,
1
,
kQTKitTimeBase
);
avpriv_set_pts_info
(
stream
,
64
,
1
,
QTKIT_TIMEBASE
);
stream
->
codec
->
codec_id
=
AV_CODEC_ID_RAWVIDEO
;
stream
->
codec
->
codec_id
=
AV_CODEC_ID_RAWVIDEO
;
stream
->
codec
->
codec_type
=
AVMEDIA_TYPE_VIDEO
;
stream
->
codec
->
codec_type
=
AVMEDIA_TYPE_VIDEO
;
...
...
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