summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/electronicarts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index f3d1a66746..479e349e1d 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: