From aaaf7261b707d2df518599e9ed1524f4298ad8db Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 22 Aug 2014 23:00:41 +0200 Subject: [PATCH] avcodec/hevc_ps: fix 1 vs. 0 typo Found-by: Timothy Gu Signed-off-by: Michael Niedermayer --- libavcodec/hevc_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 29412d27ec..365652c225 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -472,7 +472,7 @@ static void decode_vui(HEVCContext *s, HEVCSPS *sps) VUI *vui = &sps->vui; GetBitContext *gb = &s->HEVClc->gb; GetBitContext backup; - int sar_present, alt = 1; + int sar_present, alt = 0; av_log(s->avctx, AV_LOG_DEBUG, "Decoding VUI\n");