Mercurial > mplayer.hg
diff mpcommon.c @ 32142:4614728cab25
build system: Merge all FFmpeg library checks into a single FFmpeg check.
There is little point in assuming that some parts of FFmpeg might be
available without the others. Plus, mixing and matching static and
shared FFmpeg libraries was never supported.
author | diego |
---|---|
date | Mon, 13 Sep 2010 18:19:25 +0000 |
parents | 436e56c6da9b |
children | ef21cbba62ee |
line wrap: on
line diff
--- a/mpcommon.c Mon Sep 13 18:09:29 2010 +0000 +++ b/mpcommon.c Mon Sep 13 18:19:25 2010 +0000 @@ -111,7 +111,7 @@ spudec_reset(vo_spudec); vo_osd_changed(OSDTYPE_SPU); } -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG if (is_av_sub(type)) reset_avsub(d_dvdsub->sh); #endif @@ -192,7 +192,7 @@ if (len < 0) break; if (is_av_sub(type)) { -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG type = decode_avsub(d_dvdsub->sh, &packet, &len, &subpts, &endpts); if (type <= 0) #endif