History

Fix in LTP decoding

menno committed 24 years ago

Commit 450fed91 parent 876a4ad1 file · +5 −2Browse files

Showing the changes to libfaad/decoder.c (1 of 1 file). Show all

Unified · Split

libfaad/decoder.c+5−2
@@ -16,7 +16,7 @@ · 15 unmodified lines
1616 ** along with this program; if not, write to the Free Software
1717 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1818 **
19−** $Id: decoder.c,v 1.33 2002/09/13 13:08:45 menno Exp $
19+** $Id: decoder.c,v 1.34 2002/09/16 11:07:04 menno Exp $
2020 **/
2121
2222 #include <stdlib.h>
@@ -683,7 +683,10 @@ void* FAADAPI faacDecDecode(faacDecHandle hDecoder, · 660 unmodified lines
683683 right_channel = 0;
684684 } else if (syntax_elements[i]->paired_channel == ch) {
685685 ics = &(syntax_elements[i]->ics2);
686− ltp = &(ics->ltp2);
686+ if (syntax_elements[i]->common_window)
687+ ltp = &(ics->ltp2);
688+ else
689+ ltp = &(ics->ltp);
687690 right_channel = 1;
688691 }
689692 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t