Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-24 11:06:32 +0400
committerAnton Khirnov <anton@khirnov.net>2012-10-30 00:34:05 +0400
commit14f031d7ecfabba0ef02776d4516aa3dcb7c40d8 (patch)
treeea7f7a71a3ad48419a648f2a2519a10ea8ea9a28 /libavformat/dv.c
parent20dd41af8513de427b00ee598339c9bc5778bdc5 (diff)
dv: use AVStream.index instead of abusing AVStream.id
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r--libavformat/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 70786b1071..17c545c3ca 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++;