Skip to content

Commit

Permalink
Import libmpg123 1.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
starg2 committed Jul 11, 2020
1 parent 27e6b01 commit 737f6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmpg123/src/libmpg123/sample.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static inline int16_t ftoi16(float x)
#ifdef WORDS_BIGENDIAN
/* Highest byte first. Drop last. */
#define DROP4BYTE(w,r) {(w)[0]=(r)[0]; (w)[1]=(r)[1]; (w)[2]=(r)[2];}
#define ADD4BYTE(w,r) {(w)[0]=(r)[0]; (w)[1]=(r)[1]; (w)[2]=(r)[2]; (w)[3]=0}
#define ADD4BYTE(w,r) {(w)[0]=(r)[0]; (w)[1]=(r)[1]; (w)[2]=(r)[2]; (w)[3]=0;}
#else
/* Lowest byte first, drop that. */
#define DROP4BYTE(w,r) {(w)[0]=(r)[1]; (w)[1]=(r)[2]; (w)[2]=(r)[3];}
Expand Down

0 comments on commit 737f6c2

Please sign in to comment.