diff options
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r-- | libavformat/mp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 4a03c00..04e8bcf 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -407,7 +407,7 @@ static int mp3_read_probe(AVProbeData *p) buf2 = buf; for(frames = 0; buf2 < end; frames++) { - header = (buf2[0] << 24) | (buf2[1] << 16) | (buf2[2] << 8) | buf2[3]; + header = AV_RB32(buf2); fsize = ff_mpa_decode_header(&avctx, header, &sample_rate); if(fsize < 0) break; |