[MPlayer-dev-eng] [PATCH 1/2] av_helpers: remove obsolete avcodec_init.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri Dec 23 23:11:04 CET 2011
On Wed, Dec 21, 2011 at 03:59:29PM +0100, Nicolas George wrote:
> ---
> av_helpers.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/av_helpers.c b/av_helpers.c
> index 5360832..11bed7c 100644
> --- a/av_helpers.c
> +++ b/av_helpers.c
> @@ -79,7 +79,6 @@ static void mp_msp_av_log_callback(void *ptr, int level, const char *fmt,
> void init_avcodec(void)
> {
> if (!avcodec_initialized) {
> - avcodec_init();
> avcodec_register_all();
> avcodec_initialized = 1;
> av_log_set_callback(mp_msp_av_log_callback);
I don't mind, but I don't know if it might not hurt some distros if
they try to link against some older version (I have no idea when this
change was made in FFmpeg).
More information about the MPlayer-dev-eng
mailing list