~ft/aacdec

8498be7f35f42ef1d32c4de67428dbf05a6057bf — menno 16 years ago 891c7d0
in_mp4.c: small bugfix for crashing at end of file
1 files changed, 2 insertions(+), 2 deletions(-)

M plugins/in_mp4/in_mp4.c
M plugins/in_mp4/in_mp4.c => plugins/in_mp4/in_mp4.c +2 -2
@@ 22,7 22,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
**
** $Id: in_mp4.c,v 1.55 2004/10/18 19:25:00 menno Exp $
** $Id: in_mp4.c,v 1.56 2004/10/19 18:02:10 menno Exp $
**/

//#define DEBUG_OUTPUT


@@ 2219,7 2219,7 @@ DWORD WINAPI MP4PlayThread(void *b)
                    show_error(module.hMainWindow, NeAACDecGetErrorMessage(frameInfo.error));
                    mp4state.last_frame = 1;
                }
                if (mp4state.sampleId > mp4state.numSamples)
                if (mp4state.sampleId >= mp4state.numSamples)
                    mp4state.last_frame = 1;

                if (buffer) free(buffer);