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

Commit 69ae6a87 authored by Wei Jia's avatar Wei Jia
Browse files

libstagefright: fix A_Refl to return immediately when there is an error.

Bug: 23609206
Change-Id: I2ad25fb208df17f5a5b6d6b356eff2f400627f22
(cherry picked from commit 715dcb9c)
parent 13ff64c2
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -59,6 +59,8 @@ terms listed above has been obtained from the copyright holder.
/*----------------------------------------------------------------------------
/*----------------------------------------------------------------------------
; INCLUDES
; INCLUDES
----------------------------------------------------------------------------*/
----------------------------------------------------------------------------*/
#include <log/log.h>

#include "a_refl.h"
#include "a_refl.h"
#include "typedef.h"
#include "typedef.h"
#include "cnst.h"
#include "cnst.h"
@@ -291,7 +293,8 @@ void A_Refl(
                {
                {
                    refl[i] = 0;
                    refl[i] = 0;
                }
                }
                break;
                ALOGE("b/23609206");
                return;
            }
            }


            bState[j] = extract_l(L_temp);
            bState[j] = extract_l(L_temp);