From 9b157b0ccd259f4b9f3f0066e75cb7b5e94ab525 Mon Sep 17 00:00:00 2001 From: Cyril Russo Date: Thu, 22 Apr 2010 08:55:23 +0000 Subject: Fix compilation error of ffmpeg and ffplay with --disable-avdevice. Patch by Cyril Russo, stage D nexvision A laposte net Originally committed as revision 22940 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 81b454f025..3b211f0873 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -4077,7 +4077,9 @@ int main(int argc, char **argv) int64_t ti; avcodec_register_all(); +#if CONFIG_AVDEVICE avdevice_register_all(); +#endif av_register_all(); #if HAVE_ISATTY -- cgit v1.2.3