changeset 30091:1368993fb7a9

Revert r30100: It breaks some mov and asf samples.
author cehoyos
date Mon, 28 Dec 2009 13:39:26 +0000
parents 79c5030c2904
children b636fc3f4960
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;