[MPlayer-cvslog] r34294 - trunk/libmpcodecs/ad_spdif.c
cehoyos
subversion at mplayerhq.hu
Thu Nov 3 20:33:05 CET 2011
Author: cehoyos
Date: Thu Nov 3 20:33:05 2011
New Revision: 34294
Log:
Use init_avformat() instead of av_register_all().
Modified:
trunk/libmpcodecs/ad_spdif.c
Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c Thu Nov 3 19:51:56 2011 (r34293)
+++ trunk/libmpcodecs/ad_spdif.c Thu Nov 3 20:33:05 2011 (r34294)
@@ -21,6 +21,7 @@
#include "config.h"
#include "mp_msg.h"
#include "ad_internal.h"
+#include "av_helpers.h"
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libavutil/opt.h"
@@ -106,7 +107,7 @@ static int init(sh_audio_t *sh)
sh->context = spdif_ctx;
lavf_ctx = spdif_ctx->lavf_ctx;
- av_register_all();
+ init_avformat();
lavf_ctx->oformat = av_guess_format(FILENAME_SPDIFENC, NULL, NULL);
if (!lavf_ctx->oformat)
goto fail;
More information about the MPlayer-cvslog
mailing list