[FFmpeg-cvslog] dv: use AVStream.index instead of abusing AVStream.id

Anton Khirnov git at videolan.org
Tue Oct 30 15:16:39 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Oct 24 09:06:32 2012 +0200| [14f031d7ecfabba0ef02776d4516aa3dcb7c40d8] | committer: Anton Khirnov

dv: use AVStream.index instead of abusing AVStream.id

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14f031d7ecfabba0ef02776d4516aa3dcb7c40d8
---

 libavformat/dv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dv.c b/libavformat/dv.c
index 70786b1..17c545c 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -372,7 +372,7 @@ int avpriv_dv_produce_packet(DVDemuxContext *c, AVPacket *pkt,
     pkt->data         = buf;
     pkt->size         = size;
     pkt->flags       |= AV_PKT_FLAG_KEY;
-    pkt->stream_index = c->vst->id;
+    pkt->stream_index = c->vst->index;
     pkt->pts          = c->frames;
 
     c->frames++;



More information about the ffmpeg-cvslog mailing list