diff pva.c @ 2894:35cc09bfab21 libavformat

remove unnecessary shift
author ivo
date Sat, 05 Jan 2008 22:10:00 +0000
parents a174a3a0c2c0
children 54e2afeca044
line wrap: on
line diff
--- a/pva.c	Fri Jan 04 23:09:58 2008 +0000
+++ b/pva.c	Sat Jan 05 22:10:00 2008 +0000
@@ -73,7 +73,7 @@
     flags    = get_byte(pb);
     length   = get_be16(pb);
 
-    pts_flag  = (flags & 0x10) >> 4;
+    pts_flag  = flags & 0x10;
 
     if (syncword != PVA_MAGIC) {
         av_log(s, AV_LOG_ERROR, "invalid syncword\n");