aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-05-12 09:07:02 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-05-12 09:07:02 +0200
commitd1cacbbea946f39fb7a7ff9852bc5d8c1e67143c (patch)
treecacfa902ff83e84750846d61b15f64edf478273d /libavcodec
parentcd244fae984746a7cbfdebe8f162acf7937b79f2 (diff)
downloadffmpeg-d1cacbbea946f39fb7a7ff9852bc5d8c1e67143c.tar.gz
lavc/libutvideoenc: Cast an unsigned constant to int.
Fixes the following warning / error: libavcodec/libutvideoenc.cpp:281:1: warning: narrowing conversion of ‘3221258240u’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing] Fixes ticket #5542.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libutvideoenc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp
index d5dfef938a..d03d5152fc 100644
--- a/libavcodec/libutvideoenc.cpp
+++ b/libavcodec/libutvideoenc.cpp
@@ -254,7 +254,7 @@ AVCodec ff_libutvideo_encoder = {
NULL_IF_CONFIG_SMALL("Ut Video"),
AVMEDIA_TYPE_VIDEO,
AV_CODEC_ID_UTVIDEO,
- AV_CODEC_CAP_AUTO_THREADS | AV_CODEC_CAP_LOSSLESS | AV_CODEC_CAP_INTRA_ONLY,
+ AV_CODEC_CAP_AUTO_THREADS | (int)AV_CODEC_CAP_LOSSLESS | AV_CODEC_CAP_INTRA_ONLY,
NULL, /* supported_framerates */
(const enum AVPixelFormat[]) {
AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUYV422, AV_PIX_FMT_BGR24,