diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-02-19 21:11:56 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-02-19 21:11:56 +0100 |
commit | 73781741b7bfacc5e0d4aae551f01a2a29dc1972 (patch) | |
tree | 956dc01af21c7a2b63c64deac016e531682f21ee /libavcodec/libvpxenc.c | |
parent | 432be6362c3100e4009691a7901b54e51eff1406 (diff) | |
download | ffmpeg-73781741b7bfacc5e0d4aae551f01a2a29dc1972.tar.gz |
lavc/libvpx: Reindent after last commit.
Diffstat (limited to 'libavcodec/libvpxenc.c')
-rw-r--r-- | libavcodec/libvpxenc.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index e738578e4a..12391034f3 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -371,20 +371,20 @@ static void set_colorspace(AVCodecContext *avctx) if (ctx->vpx_cs) { vpx_cs = ctx->vpx_cs; } else { - switch (avctx->colorspace) { - case AVCOL_SPC_RGB: vpx_cs = VPX_CS_SRGB; break; - case AVCOL_SPC_BT709: vpx_cs = VPX_CS_BT_709; break; - case AVCOL_SPC_UNSPECIFIED: vpx_cs = VPX_CS_UNKNOWN; break; - case AVCOL_SPC_RESERVED: vpx_cs = VPX_CS_RESERVED; break; - case AVCOL_SPC_BT470BG: vpx_cs = VPX_CS_BT_601; break; - case AVCOL_SPC_SMPTE170M: vpx_cs = VPX_CS_SMPTE_170; break; - case AVCOL_SPC_SMPTE240M: vpx_cs = VPX_CS_SMPTE_240; break; - case AVCOL_SPC_BT2020_NCL: vpx_cs = VPX_CS_BT_2020; break; - default: - av_log(avctx, AV_LOG_WARNING, "Unsupported colorspace (%d)\n", - avctx->colorspace); - return; - } + switch (avctx->colorspace) { + case AVCOL_SPC_RGB: vpx_cs = VPX_CS_SRGB; break; + case AVCOL_SPC_BT709: vpx_cs = VPX_CS_BT_709; break; + case AVCOL_SPC_UNSPECIFIED: vpx_cs = VPX_CS_UNKNOWN; break; + case AVCOL_SPC_RESERVED: vpx_cs = VPX_CS_RESERVED; break; + case AVCOL_SPC_BT470BG: vpx_cs = VPX_CS_BT_601; break; + case AVCOL_SPC_SMPTE170M: vpx_cs = VPX_CS_SMPTE_170; break; + case AVCOL_SPC_SMPTE240M: vpx_cs = VPX_CS_SMPTE_240; break; + case AVCOL_SPC_BT2020_NCL: vpx_cs = VPX_CS_BT_2020; break; + default: + av_log(avctx, AV_LOG_WARNING, "Unsupported colorspace (%d)\n", + avctx->colorspace); + return; + } } codecctl_int(avctx, VP9E_SET_COLOR_SPACE, vpx_cs); } |