Commit 91f82980 authored by michael's avatar michael

10l (gcc 2.95 compilation)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3454 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0a610ea3
...@@ -208,8 +208,6 @@ dts_decode_frame (AVCodecContext *avctx, void *data, int *data_size, ...@@ -208,8 +208,6 @@ dts_decode_frame (AVCodecContext *avctx, void *data, int *data_size,
{ {
uint8_t * start = buff; uint8_t * start = buff;
uint8_t * end = buff + buff_size; uint8_t * end = buff + buff_size;
*data_size = 0;
static uint8_t buf[BUFFER_SIZE]; static uint8_t buf[BUFFER_SIZE];
static uint8_t * bufptr = buf; static uint8_t * bufptr = buf;
static uint8_t * bufpos = buf + HEADER_SIZE; static uint8_t * bufpos = buf + HEADER_SIZE;
...@@ -221,6 +219,8 @@ dts_decode_frame (AVCodecContext *avctx, void *data, int *data_size, ...@@ -221,6 +219,8 @@ dts_decode_frame (AVCodecContext *avctx, void *data, int *data_size,
int len; int len;
dts_state_t *state = avctx->priv_data; dts_state_t *state = avctx->priv_data;
*data_size = 0;
while (1) while (1)
{ {
len = end - start; len = end - start;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment