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

Commit 28fa5fe9 authored by Dongwon Kang's avatar Dongwon Kang Committed by android-build-merger
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 am: c512ab83 am: 1527d621 am: 93783a21 am: 04ba4099 am: c8d96838 am: 2bd167ec am: 3f60a22f am: 2c3a8890 am: 4db55b03
am: 7139891c

Change-Id: I83c6af9dba0e548851016e5a2696e5084501218d
parents f74906c3 7139891c
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;
    }