[FFmpeg-cvslog] lavc/libvpx: Reindent after last commit.
Carl Eugen Hoyos
git at videolan.org
Fri Feb 19 21:12:27 CET 2016
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Feb 19 21:11:56 2016 +0100| [73781741b7bfacc5e0d4aae551f01a2a29dc1972] | committer: Carl Eugen Hoyos
lavc/libvpx: Reindent after last commit.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=73781741b7bfacc5e0d4aae551f01a2a29dc1972
---
libavcodec/libvpxenc.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index e738578..1239103 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);
}
More information about the ffmpeg-cvslog
mailing list