10l (gcc 2.95 compilation)

Originally committed as revision 3454 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-09-12 17:35:54 +00:00
parent 7346831883
commit 0fd847a168

View File

@ -208,8 +208,6 @@ dts_decode_frame (AVCodecContext *avctx, void *data, int *data_size,
{
uint8_t * start = buff;
uint8_t * end = buff + buff_size;
*data_size = 0;
static uint8_t buf[BUFFER_SIZE];
static uint8_t * bufptr = buf;
static uint8_t * bufpos = buf + HEADER_SIZE;
@ -221,6 +219,8 @@ dts_decode_frame (AVCodecContext *avctx, void *data, int *data_size,
int len;
dts_state_t *state = avctx->priv_data;
*data_size = 0;
while (1)
{
len = end - start;