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
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
9d30e0682a
commit
9b157b0ccd
2
ffmpeg.c
2
ffmpeg.c
@@ -4077,7 +4077,9 @@ int main(int argc, char **argv)
|
|||||||
int64_t ti;
|
int64_t ti;
|
||||||
|
|
||||||
avcodec_register_all();
|
avcodec_register_all();
|
||||||
|
#if CONFIG_AVDEVICE
|
||||||
avdevice_register_all();
|
avdevice_register_all();
|
||||||
|
#endif
|
||||||
av_register_all();
|
av_register_all();
|
||||||
|
|
||||||
#if HAVE_ISATTY
|
#if HAVE_ISATTY
|
||||||
|
|||||||
2
ffplay.c
2
ffplay.c
@@ -3100,7 +3100,9 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
/* register all codecs, demux and protocols */
|
/* register all codecs, demux and protocols */
|
||||||
avcodec_register_all();
|
avcodec_register_all();
|
||||||
|
#if CONFIG_AVDEVICE
|
||||||
avdevice_register_all();
|
avdevice_register_all();
|
||||||
|
#endif
|
||||||
#if CONFIG_AVFILTER
|
#if CONFIG_AVFILTER
|
||||||
avfilter_register_all();
|
avfilter_register_all();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user