avcodec/hevc_ps: fix 1 vs. 0 typo
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Aug 2014 21:00:41 +0000 (23:00 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Aug 2014 21:00:41 +0000 (23:00 +0200)
Found-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_ps.c

index 29412d2..365652c 100644 (file)
@@ -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");