You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
libvpxenc: cosmetics: reindent
Signed-off-by: James Zern <jzern@google.com>
This commit is contained in:
@@ -269,7 +269,8 @@ static av_cold int vp8_free(AVCodecContext *avctx)
|
|||||||
#if CONFIG_LIBVPX_VP9_ENCODER
|
#if CONFIG_LIBVPX_VP9_ENCODER
|
||||||
static int set_pix_fmt(AVCodecContext *avctx, vpx_codec_caps_t codec_caps,
|
static int set_pix_fmt(AVCodecContext *avctx, vpx_codec_caps_t codec_caps,
|
||||||
struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags,
|
struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags,
|
||||||
vpx_img_fmt_t *img_fmt) {
|
vpx_img_fmt_t *img_fmt)
|
||||||
|
{
|
||||||
#ifdef VPX_IMG_FMT_HIGHBITDEPTH
|
#ifdef VPX_IMG_FMT_HIGHBITDEPTH
|
||||||
enccfg->g_bit_depth = enccfg->g_input_bit_depth = 8;
|
enccfg->g_bit_depth = enccfg->g_input_bit_depth = 8;
|
||||||
#endif
|
#endif
|
||||||
@@ -611,8 +612,7 @@ static inline void cx_pktcpy(struct FrameListData *dst,
|
|||||||
if (src_alpha) {
|
if (src_alpha) {
|
||||||
dst->buf_alpha = src_alpha->data.frame.buf;
|
dst->buf_alpha = src_alpha->data.frame.buf;
|
||||||
dst->sz_alpha = src_alpha->data.frame.sz;
|
dst->sz_alpha = src_alpha->data.frame.sz;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
dst->buf_alpha = NULL;
|
dst->buf_alpha = NULL;
|
||||||
dst->sz_alpha = 0;
|
dst->sz_alpha = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user