Commit 14f031d7 authored by Anton Khirnov's avatar Anton Khirnov

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

parent 20dd41af
...@@ -372,7 +372,7 @@ int avpriv_dv_produce_packet(DVDemuxContext *c, AVPacket *pkt, ...@@ -372,7 +372,7 @@ int avpriv_dv_produce_packet(DVDemuxContext *c, AVPacket *pkt,
pkt->data = buf; pkt->data = buf;
pkt->size = size; pkt->size = size;
pkt->flags |= AV_PKT_FLAG_KEY; pkt->flags |= AV_PKT_FLAG_KEY;
pkt->stream_index = c->vst->id; pkt->stream_index = c->vst->index;
pkt->pts = c->frames; pkt->pts = c->frames;
c->frames++; c->frames++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment