[FFmpeg-devel] [PATCH] ffplay: do not call avcodec_register_all() explicitly

Stefano Sabatini stefasab at gmail.com
Mon Nov 25 00:06:27 CET 2013


On date Sunday 2013-11-24 23:09:52 +0100, Marton Balint encoded:
> 
> On Sun, 24 Nov 2013, Stefano Sabatini wrote:
> 
> >avcodec_register_all() is implicitly called by av_register_all().
> >---
> >ffplay.c | 1 -
> >1 file changed, 1 deletion(-)
> >
> >diff --git a/ffplay.c b/ffplay.c
> >index 137837c..6df831c 100644
> >--- a/ffplay.c
> >+++ b/ffplay.c
> >@@ -3546,7 +3546,6 @@ int main(int argc, char **argv)
> >    parse_loglevel(argc, argv, options);
> >
> >    /* register all codecs, demux and protocols */
> >-    avcodec_register_all();
> >#if CONFIG_AVDEVICE
> >    avdevice_register_all();
> >#endif
> 
> LGTM, thanks.

Thanks, applied.
-- 
FFmpeg = Furious and Foolish Meaningful Political Eccentric Gem


More information about the ffmpeg-devel mailing list