[Ffmpeg-cvslog] r8697 - trunk/libavformat/matroska.c

aurel subversion
Mon Apr 9 19:00:10 CEST 2007


Author: aurel
Date: Mon Apr  9 19:00:09 2007
New Revision: 8697

Modified:
   trunk/libavformat/matroska.c

Log:
add an intermediate variable (prepare for next patch)

Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c	(original)
+++ trunk/libavformat/matroska.c	Mon Apr  9 19:00:09 2007
@@ -2394,6 +2394,7 @@ matroska_parse_block(MatroskaDemuxContex
 {
     int res = 0;
     int track;
+    AVStream *st;
     AVPacket *pkt;
     uint8_t *origdata = data;
     int16_t block_time;
@@ -2418,7 +2419,8 @@ matroska_parse_block(MatroskaDemuxContex
         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;
     }




More information about the ffmpeg-cvslog mailing list