[SCM] libav/experimental: remove unnecessary shift
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:11:21 UTC 2013
The following commit has been merged in the experimental branch:
commit 6a5ef2934c3c1af1fa087bf2cbc21b1064912d7a
Author: Ivo van Poorten <ivop at euronet.nl>
Date: Sat Jan 5 22:10:00 2008 +0000
remove unnecessary shift
Originally committed as revision 11424 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/pva.c b/libavformat/pva.c
index dd07497..87f79a0 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");
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list