[FFmpeg-devel] [PATCH] libmodplug: add bintext video stream capability.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Oct 9 15:25:39 CEST 2011
On Sun, Oct 09, 2011 at 03:05:31PM +0200, Clément Bœsch wrote:
> ---
> libavformat/libmodplug.c | 165 +++++++++++++++++++++++++++++++++++++++++++++-
> 1 files changed, 162 insertions(+), 3 deletions(-)
>
> diff --git a/libavformat/libmodplug.c b/libavformat/libmodplug.c
> index edae4b3..00cd12e 100644
> --- a/libavformat/libmodplug.c
> +++ b/libavformat/libmodplug.c
> @@ -27,6 +27,10 @@
> #include "libavutil/opt.h"
> #include "avformat.h"
>
> +#if CONFIG_BINTEXT_DECODER
> +#include "libavutil/eval.h"
> +#endif
There is no reason at all to have the include under this #if.
Generally I don't see why you need to check CONFIG_BINTEXT_DECODER,
I don't see any of the code depending on it.
Yes, you will need to it actually display it, but e.g. transcoding
with FFmpeg should not have any need at all for the decoder, only
when you play the file then you'd need it.
More information about the ffmpeg-devel
mailing list