# HG changeset patch # User benoit # Date 1194534577 0 # Node ID 80fc8554cde67f0d7d3a1aa4669935a66c57aeea # Parent 65dcef6d93e164d0684dc7f8e564866d5f914a16 Change a stream indexer. Patch by Ronald S. Bultje: rsbultje gmail com diff -r 65dcef6d93e1 -r 80fc8554cde6 rmdec.c --- 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) {