summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/pva.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/pva.c b/libavformat/pva.c
index dd0749783b..87f79a0451 100644
--- a/libavformat/pva.c
+++ b/libavformat/pva.c
@@ -73,7 +73,7 @@ static int pva_read_packet(AVFormatContext *s, AVPacket *pkt) {
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");