diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-04-09 17:00:09 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-04-09 17:00:09 +0000 |
commit | 79f26346869ca68ec7139bc95ca596f7156bc5e9 (patch) | |
tree | 978720548a67af7809171a751bf53689eaee56e1 /libavformat | |
parent | cca9b6cdb3ad2bf4533295cf0de0131b03a5f75d (diff) | |
download | ffmpeg-79f26346869ca68ec7139bc95ca596f7156bc5e9.tar.gz |
add an intermediate variable (prepare for next patch)
Originally committed as revision 8697 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroska.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 84516bec3e..d0ee9afc5d 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -2394,6 +2394,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size, { int res = 0; int track; + AVStream *st; AVPacket *pkt; uint8_t *origdata = data; int16_t block_time; @@ -2418,7 +2419,8 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size, av_free(origdata); return res; } - if(matroska->ctx->streams[ matroska->tracks[track]->stream_index ]->discard >= AVDISCARD_ALL){ + st = matroska->ctx->streams[matroska->tracks[track]->stream_index]; + if (st->discard >= AVDISCARD_ALL) { av_free(origdata); return res; } |