changeset 2894:35cc09bfab21 libavformat

remove unnecessary shift
author ivo
date Sat, 05 Jan 2008 22:10:00 +0000
parents c31c50af40c5
children 54e2afeca044
files pva.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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");