[MPlayer-dev-eng] Re: [PATCH] lavf demuxer timebase fix?

adland123 adland123 at yahoo.com
Sun May 1 05:37:58 CEST 2005


Rich Felker <dalias <at> aerifal.cx> writes:

> 
> On Sat, Apr 30, 2005 at 09:02:29PM -0400, Rich Felker wrote:
> > would someone check and see if this looks ok before i commit it?
> > (see latest commits on ffmpeg-cvslog)
> > 
> > rich
> 
> it would help if i actually tried compiling.. here's attempt 2..
> 
> rich
> 
> 

Had build issues with a different file.
Enclosed is temp build fix. 
Not familliar with code so it needs something added.


--- main/libmpdemux/muxer_lavf.c        2005-04-17 05:13:48.000000000 -0400
+++ updated/libmpdemux/muxer_lavf.c     2005-04-30 23:40:22.000000000 -0400
@@ -180,8 +180,14 @@
                ctx->width = stream->bih->biWidth;
                ctx->height = stream->bih->biHeight;
                ctx->bit_rate = 800000;
+                #if (LIBAVFORMAT_BUILD >= 4624)
+
+                      //FIXME add missing code here?
+
+                #else
                ctx->frame_rate = stream->h.dwRate;
                ctx->frame_rate_base = stream->h.dwScale;
+                #endif
        }
 }






More information about the MPlayer-dev-eng mailing list