]> git.sesse.net Git - ffmpeg/commit
avcodec/avcodec: Don't suggest calling deprecated avcodec_register_all()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 26 Feb 2021 03:59:59 +0000 (04:59 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 8 Mar 2021 01:42:20 +0000 (02:42 +0100)
commit136dd5b592a17efdf8c05c73888d06fb4a8e0912
tree486b3bc2059070abf70b41a62f2c7a32745ea02b
parentea3953ad406e96e95c533ef850c6395da6a7dd86
avcodec/avcodec: Don't suggest calling deprecated avcodec_register_all()

Despite avcodec_register and avcodec_register_all being deprecated,
their documentation still said that one of them has to be called
before doing anything else. Clarify this confusing situation.

Furthermore, don't use avcodec_register_all in sample code for
a non-deprecated function.

Reviewed-by: mypopy@gmail.com <mypopy@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/avcodec.h