changeset 2723:80fc8554cde6 libavformat

Change a stream indexer. Patch by Ronald S. Bultje: rsbultje gmail com
author benoit
date Thu, 08 Nov 2007 15:09:37 +0000
parents 65dcef6d93e1
children 1f752c3afdc8
files rmdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rmdec.c	Thu Nov 08 15:07:34 2007 +0000
+++ b/rmdec.c	Thu Nov 08 15:09:37 2007 +0000
@@ -655,7 +655,7 @@
         }
         rm->audio_pkt_cnt--;
         pkt->flags = 0;
-        pkt->stream_index = rm->audio_stream_num;
+        pkt->stream_index = st->index;
     } else if (rm->old_format) {
         st = s->streams[0];
         if (st->codec->codec_id == CODEC_ID_RA_288) {