Unified · Split
| @@ -16,7 +16,7 @@ · 15 unmodified lines | |||
| 16 | ** along with this program; if not, write to the Free Software | 16 | ** along with this program; if not, write to the Free Software |
| 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 | ** | 18 | ** |
| 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 $ |
| 20 | **/ | 20 | **/ |
| 21 | 21 | ||
| 22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
| @@ -683,7 +683,10 @@ void* FAADAPI faacDecDecode(faacDecHandle hDecoder, · 660 unmodified lines | |||
| 683 | right_channel = 0; | 683 | right_channel = 0; |
| 684 | } else if (syntax_elements[i]->paired_channel == ch) { | 684 | } else if (syntax_elements[i]->paired_channel == ch) { |
| 685 | ics = &(syntax_elements[i]->ics2); | 685 | 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); | ||
| 687 | right_channel = 1; | 690 | right_channel = 1; |
| 688 | } | 691 | } |
| 689 | } | 692 | } |