remove useless &0xFF
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 15 Oct 2007 22:51:15 +0000 (22:51 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 15 Oct 2007 22:51:15 +0000 (22:51 +0000)
Originally committed as revision 10751 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/electronicarts.c

index f3d1a66..479e349 100644 (file)
@@ -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: