aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/pva.c
diff options
context:
space:
mode:
authorIvo van Poorten <ivop@euronet.nl>2008-01-05 22:10:00 +0000
committerIvo van Poorten <ivop@euronet.nl>2008-01-05 22:10:00 +0000
commit6a5ef2934c3c1af1fa087bf2cbc21b1064912d7a (patch)
tree11774be5d4a6edf088fd22e88ac73fc0cf7b9af5 /libavformat/pva.c
parentcfec09e91423018bbefe29e31254e03e0d286ce5 (diff)
downloadffmpeg-6a5ef2934c3c1af1fa087bf2cbc21b1064912d7a.tar.gz
remove unnecessary shift
Originally committed as revision 11424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/pva.c')
-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");