[SCM] libav/experimental: remove useless &0xFF
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:08:15 UTC 2013
The following commit has been merged in the experimental branch:
commit c03c4cac82a561505ef2753e6c7a9a23b3779b48
Author: Aurelien Jacobs <aurel at gnuage.org>
Date: Mon Oct 15 22:51:15 2007 +0000
remove useless &0xFF
Originally committed as revision 10751 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index f3d1a66..479e349 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -86,7 +86,7 @@ static int process_ea_header(AVFormatContext *s) {
while (inHeader) {
int inSubheader;
uint8_t byte;
- byte = get_byte(pb) & 0xFF;
+ byte = get_byte(pb);
switch (byte) {
case 0xFD:
@@ -94,7 +94,7 @@ static int process_ea_header(AVFormatContext *s) {
inSubheader = 1;
while (inSubheader) {
uint8_t subbyte;
- subbyte = get_byte(pb) & 0xFF;
+ subbyte = get_byte(pb);
switch (subbyte) {
case 0x82:
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list