# HG changeset patch # User cehoyos # Date 1262007566 0 # Node ID 1368993fb7a9b8fa2047862263856a60dd3fe0a2 # Parent 79c5030c2904f2f7f2c6eb30e765f082fac9b0fb Revert r30100: It breaks some mov and asf samples. diff -r 79c5030c2904 -r 1368993fb7a9 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Mon Dec 28 12:05:20 2009 +0000 +++ b/libmpdemux/demux_lavf.c Mon Dec 28 13:39:26 2009 +0000 @@ -612,6 +612,8 @@ lavf_priv_t *priv = demuxer->priv; switch (cmd) { + case DEMUXER_CTRL_CORRECT_PTS: + return DEMUXER_CTRL_OK; case DEMUXER_CTRL_GET_TIME_LENGTH: if (priv->avfc->duration == 0 || priv->avfc->duration == AV_NOPTS_VALUE) return DEMUXER_CTRL_DONTKNOW;