On Mon, Nov 11, 2019 at 09:05:02AM +0800, lance.lmw...@gmail.com wrote:
> From: Limin Wang <lance.lmw...@gmail.com>
> 
> mp3 header bitstream syntax:
> header()
> {
>     syncword   12bits bslsf
>     id         1bit    bslsf
>     layer      2bit    bslsf
>     protection_bit 1bit bslsf
>     bitrate_index 4bits bslsf
>     sampling_frequency 2bits bslsf
>     padding_bit  1bit bslsf
>     private_bit 1bit bslsf
>     mode 2bits bslsf
>     mode_extension 2bits bslsf
>     copyright 1bit bslsf
>     original/home 1bit bslsf
>     emphasis 2bits bslsf
> }
> 
> if the header is masking with MP3_MASK(0xFFFE0CCF), below fields will be 
> cleared:
> protection_bit, bitrate_index, sampling_freqency, mode
> 
> with SAME_HEADER_MASK(0xFFFE0C00), extra below fields will be cleared which 
> didn't make
> sense:
> mode_extension, copyright, original/home, emphasis
> 
> As the MP3_MASK is good for same mp3 header masking and is defined in the
> header, so it's preferable to remove SAME_HEADER_MASK to keep the masking 
> same.
> 
> Signed-off-by: Limin Wang <lance.lmw...@gmail.com>
> ---
>  libavformat/mp3dec.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

will apply this and the previous patch

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to