[FFmpeg-cvslog] avcodec/hevc_ps: fix 1 vs. 0 typo

Michael Niedermayer git at videolan.org
Fri Aug 22 23:53:20 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 22 23:00:41 2014 +0200| [aaaf7261b707d2df518599e9ed1524f4298ad8db] | committer: Michael Niedermayer

avcodec/hevc_ps: fix 1 vs. 0 typo

Found-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aaaf7261b707d2df518599e9ed1524f4298ad8db
---

 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 29412d2..365652c 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");
 



More information about the ffmpeg-cvslog mailing list