summaryrefslogtreecommitdiff
path: root/libavdevice/dv1394.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 /libavdevice/dv1394.c
parentf97905e61d7cb86987d7d4f5fabcfc0d6b57ddbb (diff)
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 'libavdevice/dv1394.c')
-rw-r--r--libavdevice/dv1394.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c
index 588f35662b..a9bc058dc9 100644
--- a/libavdevice/dv1394.c
+++ b/libavdevice/dv1394.c
@@ -202,7 +202,7 @@ restart_poll:
size = dv_produce_packet(dv->dv_demux, pkt,
dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE),
- DV1394_PAL_FRAME_SIZE);
+ DV1394_PAL_FRAME_SIZE, -1);
dv->index = (dv->index + 1) % DV1394_RING_FRAMES;
dv->done++; dv->avail--;