Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c512ab83 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] Handle bad bitrate index in mp3dec. am: 8b638123 am: 1c388693...

[automerger] Handle bad bitrate index in mp3dec. am: 8b638123 am: 1c388693 am: d1cd373b am: b589cde3

Change-Id: I1b71141f714ac4f2501922147dc18ed14633a94c
parents c3762fa1 b589cde3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream,
    info->emphasis           = (temp << 30) >> 30;  /* 2 */


    if (!info->bitrate_index || info->sampling_frequency == 3)
    if (!info->bitrate_index || info->bitrate_index == 15 || info->sampling_frequency == 3)
    {
        err = UNSUPPORTED_FREE_BITRATE;
    }