aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-30 11:55:36 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-05-02 18:38:01 +0200
commit148ffcd2ce116cadb0efdbacc358851222c808d0 (patch)
treef86fb67aa87ef2182744366fdff342751a7f6654 /libavformat/mov.c
parentf97905e61d7cb86987d7d4f5fabcfc0d6b57ddbb (diff)
downloadffmpeg-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/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index fcb27359c4..cc120150c7 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2458,7 +2458,7 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
}
#if CONFIG_DV_DEMUXER
if (mov->dv_demux && sc->dv_audio_container) {
- dv_produce_packet(mov->dv_demux, pkt, pkt->data, pkt->size);
+ dv_produce_packet(mov->dv_demux, pkt, pkt->data, pkt->size, pkt->pos);
av_free(pkt->data);
pkt->size = 0;
ret = dv_get_packet(mov->dv_demux, pkt);