[vlc-devel] [PATCH] demux: ts: fix MPGA and ADTS probing

Michael Kaufmann mail at michael-kaufmann.ch
Mon Mar 22 08:42:16 UTC 2021


>> Le 11/03/2021 à 13:21, Michael Kaufmann a écrit :
>>>>          pid->probed.i_cat = AUDIO_ES;
>>>>          if( p_data[0] == 0xFF && (p_data[1] & 0xE0) == 0xE0 &&
>>>> -           (p_data[1] & 0x0C) != 0x04 && (p_data[1] & 0x03) == 0x00 )
>>>> +           (p_data[1] & 0x18) != 0x08 && (p_data[1] & 0x06) != 0x00 )
>>>>          {
>>>>              pid->probed.i_fourcc = VLC_CODEC_MPGA;
>>>>          }
>>
>> ok for both reserved values check
>>
>>>> -        else if( p_data[0] == 0xFF && (p_data[1] & 0xF2) == 0xF0 )
>>>> +        else if( p_data[0] == 0xFF && (p_data[1] & 0xF6) == 0xF0 )
>>>>          {
>>>>              pid->probed.i_fourcc = VLC_CODEC_MP4A; /* ADTS */
>>>>              pid->probed.i_original_fourcc = VLC_FOURCC('A','D','T','S');
>>
>> ok, matching the other modules probing
>>
>
> Thank you for the review!
>
> Can you commit my patch? For vlc-3.0 too, please :-)
>

Ping... can anybody commit this, please?

https://patches.videolan.org/patch/31603/

Regards,
Michael



More information about the vlc-devel mailing list