ffmpeg | branch: master | Michael Niedermayer <michae...@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 <timothyg...@gmail.com>
Signed-off-by: Michael Niedermayer <michae...@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");
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to