diff options
author | Thilo Borgmann <thilo.borgmann@mail.de> | 2014-03-31 16:16:26 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-01 00:21:07 +0400 |
commit | d5c0036d4adcec7a38aad6e3aab8792ab9bc074a (patch) | |
tree | 6bd0a1cb3d3ebefa9b30f34a570d824c9b609802 /libavdevice/qtkit.m | |
parent | 9d013fe840213407790592ca8ecbab69285030ed (diff) |
lavd/qtkit: Fix non-constant initializer element for some clang compilers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/qtkit.m')
-rw-r--r-- | libavdevice/qtkit.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavdevice/qtkit.m b/libavdevice/qtkit.m index 038ce02a38..a1da4d403c 100644 --- a/libavdevice/qtkit.m +++ b/libavdevice/qtkit.m @@ -35,11 +35,11 @@ #include "libavutil/time.h" #include "avdevice.h" -static const int kQTKitTimeBase = 100; +#define QTKIT_TIMEBASE 100 static const AVRational kQTKitTimeBase_q = { .num = 1, - .den = kQTKitTimeBase + .den = QTKIT_TIMEBASE }; typedef struct @@ -213,7 +213,7 @@ static int qtkit_read_header(AVFormatContext *s) 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_type = AVMEDIA_TYPE_VIDEO; |