diff --git a/libavformat/allformats.c b/libavformat/allformats.c index aad7435ae8..02fa1746c4 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -249,7 +249,9 @@ void av_register_all(void) av_register_input_format(&nut_demuxer); #endif #ifdef CONFIG_NUT_MUXER -// av_register_output_format(&nut_muxer); +#ifdef CONFIG_LIBNUT + av_register_output_format(&nut_muxer); +#endif #endif #ifdef CONFIG_NUV_DEMUXER av_register_input_format(&nuv_demuxer);