[FFmpeg-devel] Fix compilation error of ffmpeg and ffplay with --disable-avdevice
Måns Rullgård
mans
Tue Apr 20 15:58:54 CEST 2010
Cyril Russo <stage.nexvision at laposte.net> writes:
> $subject
>
> Cheers,
> Cyril
>
> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c (revision 22918)
> +++ ffmpeg.c (working copy)
> @@ -4074,7 +4074,9 @@
> int64_t ti;
>
> avcodec_register_all();
> +#if CONFIG_AVDEVICE
> avdevice_register_all();
> +#endif
> av_register_all();
>
> #if HAVE_ISATTY
> Index: ffplay.c
> ===================================================================
> --- ffplay.c (revision 22918)
> +++ ffplay.c (working copy)
> @@ -3100,7 +3100,9 @@
>
> /* register all codecs, demux and protocols */
> avcodec_register_all();
> +#if CONFIG_AVDEVICE
> avdevice_register_all();
> +#endif
> #if CONFIG_AVFILTER
> avfilter_register_all();
> #endif
Looks OK to me. It's the maintainers call though.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list