[MPlayer-dev-eng] [PATCH] hack to make vd_ffmpeg work with demux_lavf for rm files

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Sep 15 22:05:26 CEST 2007


Hello,
attached is a hack that disables some other hack when lavf demuxer is
used and thus makes rv decoding work instead of crash.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/vd_ffmpeg.c
===================================================================
--- libmpcodecs/vd_ffmpeg.c	(revision 24537)
+++ libmpcodecs/vd_ffmpeg.c	(working copy)
@@ -754,7 +754,7 @@
 
     avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
 
-//    if(sh->ds->demuxer->type == DEMUXER_TYPE_REAL){
+    if(sh->ds->demuxer->type != DEMUXER_TYPE_LAVF)
     if(   sh->format == mmioFOURCC('R', 'V', '1', '0')
        || sh->format == mmioFOURCC('R', 'V', '1', '3')
        || sh->format == mmioFOURCC('R', 'V', '2', '0')


More information about the MPlayer-dev-eng mailing list