diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-04-30 11:55:36 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-02 18:38:01 +0200 |
commit | 148ffcd2ce116cadb0efdbacc358851222c808d0 (patch) | |
tree | f86fb67aa87ef2182744366fdff342751a7f6654 /libavformat/avidec.c | |
parent | f97905e61d7cb86987d7d4f5fabcfc0d6b57ddbb (diff) | |
download | ffmpeg-148ffcd2ce116cadb0efdbacc358851222c808d0.tar.gz |
Make DV (sub) demuxer set proper pkt->pos values.
This makes the avi demuxer create packets with proper pos values
with the file from ticket #140.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index c497b9a38e..27ae09aa73 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -973,7 +973,7 @@ resync: if (CONFIG_DV_DEMUXER && avi->dv_demux) { dstr = pkt->destruct; size = dv_produce_packet(avi->dv_demux, pkt, - pkt->data, pkt->size); + pkt->data, pkt->size, pkt->pos); pkt->destruct = dstr; pkt->flags |= AV_PKT_FLAG_KEY; if (size < 0) |