diff options
Diffstat (limited to 'libfaad2/sbr_dec.c')
-rw-r--r-- | libfaad2/sbr_dec.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libfaad2/sbr_dec.c b/libfaad2/sbr_dec.c index ca41d6f7e7..e3ab1cf6ba 100644 --- a/libfaad2/sbr_dec.c +++ b/libfaad2/sbr_dec.c @@ -22,7 +22,10 @@ ** Commercial non-GPL licensing of this software is possible. ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. ** -** $Id: sbr_dec.c,v 1.37 2004/06/30 12:45:56 menno Exp $ +** Initially modified for use with MPlayer on 2005/12/05 +** $Id: sbr_dec.c,v 1.39 2004/09/04 14:56:28 menno Exp $ +** detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/ +** local_changes.diff contains the exact changes to this file. **/ @@ -79,7 +82,6 @@ sbr_info *sbrDecodeInit(uint16_t framelength, uint8_t id_aac, #ifdef DRM sbr->Is_DRM_SBR = IsDRM; #endif - sbr->bs_samplerate_mode = 1; sbr->tHFGen = T_HFGEN; sbr->tHFAdj = T_HFADJ; @@ -575,7 +577,7 @@ uint8_t sbrDecodeSingleFramePS(sbr_info *sbr, real_t *left_channel, real_t *righ #ifdef DRM_PS if (sbr->Is_DRM_SBR) { - drm_ps_decode(sbr->drm_ps, sbr->sample_rate, X_left, X_right); + drm_ps_decode(sbr->drm_ps, (sbr->ret > 0), sbr->sample_rate, X_left, X_right); } else { #endif #ifdef PS_DEC |