diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-11-23 01:56:21 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-11-23 01:56:21 +0200 |
commit | 5995bc175aea0417ce7ff7285c1c8fc84ebb5704 (patch) | |
tree | 7fa0b90e03fc5b3a6447b79754b654bc279f5237 /libmpdemux/demux_ty.c | |
parent | 4c552b2e420ba4cb6d888b12360c7bf63e7cd03a (diff) | |
parent | af2988cbcef1b057772d44b9f9752be3f15960b0 (diff) | |
download | mpv-5995bc175aea0417ce7ff7285c1c8fc84ebb5704.tar.bz2 mpv-5995bc175aea0417ce7ff7285c1c8fc84ebb5704.tar.xz |
Merge svn changes up to r29962
Diffstat (limited to 'libmpdemux/demux_ty.c')
-rw-r--r-- | libmpdemux/demux_ty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_ty.c b/libmpdemux/demux_ty.c index 2cb38b4370..9515d0b893 100644 --- a/libmpdemux/demux_ty.c +++ b/libmpdemux/demux_ty.c @@ -86,6 +86,7 @@ typedef struct typedef struct { int whichChunk; + unsigned char chunk[ CHUNKSIZE ]; unsigned char lastAudio[ MAX_AUDIO_BUFFER ]; int lastAudioEnd; @@ -338,7 +339,6 @@ static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds ) int errorHeader = 0; int recordsDecoded = 0; - unsigned char chunk[ CHUNKSIZE ]; int readSize; int numberRecs; @@ -350,6 +350,7 @@ static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds ) int aid; TiVoInfo *tivo = demux->priv; + unsigned char *chunk = tivo->chunk; if ( demux->stream->type == STREAMTYPE_DVD ) return 0; |