mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
libavformat/ty: use decimal constant for shift
This was the only case in the source that uses a hexadecimal shift value. The change removed a special case in respect to greping Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ad89e203bf
commit
8c49340b18
@ -254,7 +254,7 @@ static int analyze_chunk(AVFormatContext *s, const uint8_t *chunk)
|
||||
if (data_offset + hdrs[i].rec_size > CHUNK_SIZE)
|
||||
break;
|
||||
|
||||
if ((hdrs[i].subrec_type << 0x08 | hdrs[i].rec_type) == 0x3c0 && hdrs[i].rec_size > 15) {
|
||||
if ((hdrs[i].subrec_type << 8 | hdrs[i].rec_type) == 0x3c0 && hdrs[i].rec_size > 15) {
|
||||
/* first make sure we're aligned */
|
||||
int pes_offset = find_es_header(ty_MPEGAudioPacket,
|
||||
&chunk[data_offset], 5);
|
||||
|
Loading…
Reference in New Issue
Block a user