libvpxenc: cosmetics: reindent

Signed-off-by: James Zern <jzern@google.com>
pull/135/head
James Zern 10 years ago
parent 238ec505e2
commit e07ef1ada3
  1. 6
      libavcodec/libvpxenc.c

@ -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;
} }

Loading…
Cancel
Save