projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd302f
)
Change a stream indexer.
author
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 8 Nov 2007 15:09:37 +0000
(15:09 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Thu, 8 Nov 2007 15:09:37 +0000
(15:09 +0000)
Patch by Ronald S. Bultje: rsbultje gmail com
Originally committed as revision 10962 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index 7e782aeaeb7c5d07542abb062c7c904c581dc317..2f64a9427a27a35c22674708bc4e3fc0f3a61a27 100644
(file)
--- a/
libavformat/rmdec.c
+++ b/
libavformat/rmdec.c
@@
-655,7
+655,7
@@
static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
}
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) {