Mercurial > libavformat.hg
changeset 2013:fc0b19650faa libavformat
add an intermediate variable (prepare for next patch)
author | aurel |
---|---|
date | Mon, 09 Apr 2007 17:00:09 +0000 |
parents | 0829642f7456 |
children | de75a5a81f28 |
files | matroska.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/matroska.c Mon Apr 09 16:48:28 2007 +0000 +++ b/matroska.c Mon Apr 09 17:00:09 2007 +0000 @@ -2394,6 +2394,7 @@ { int res = 0; int track; + AVStream *st; AVPacket *pkt; uint8_t *origdata = data; int16_t block_time; @@ -2418,7 +2419,8 @@ 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; }