You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
dv: use AVStream.index instead of abusing AVStream.id
This commit is contained in:
@@ -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++;
|
||||||
|
Reference in New Issue
Block a user