Browse Source

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

tags/n1.1
Anton Khirnov 13 years ago
parent
commit
14f031d7ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/dv.c

+ 1
- 1
libavformat/dv.c View File

@@ -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++;


Loading…
Cancel
Save