# HG changeset patch # User rfelker # Date 1114924262 0 # Node ID cfbd8e4b3edeb50d9e51ec42cc58a97f634fec97 # Parent e9865b828a892de1bca0dfd13a8368ab17fe1b7b at lest this fixes build.. there's no way muxer_lavf is working right yet tho with mencoder's broken timestamps diff -r e9865b828a89 -r cfbd8e4b3ede libmpdemux/muxer_lavf.c --- a/libmpdemux/muxer_lavf.c Sun May 01 02:03:58 2005 +0000 +++ b/libmpdemux/muxer_lavf.c Sun May 01 05:11:02 2005 +0000 @@ -180,8 +180,13 @@ ctx->width = stream->bih->biWidth; ctx->height = stream->bih->biHeight; ctx->bit_rate = 800000; +#if (LIBAVFORMAT_BUILD >= 4624) + ctx->time_base.den = stream->h.dwRate; + ctx->time_base.num = stream->h.dwScale; +#else ctx->frame_rate = stream->h.dwRate; ctx->frame_rate_base = stream->h.dwScale; +#endif } }