[MPlayer-cvslog] r34291 - trunk/libmpcodecs/ad_spdif.c

cehoyos subversion at mplayerhq.hu
Thu Nov 3 19:43:50 CET 2011


Author: cehoyos
Date: Thu Nov  3 19:43:49 2011
New Revision: 34291

Log:
Call av_register_all() before initialising the SPDIF muxer.

Fixes playback with -demuxer mpegts -ac spdifac3.
Patch by Naoya OYAMA, naoya D oyama gmail

Modified:
   trunk/libmpcodecs/ad_spdif.c

Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c	Thu Nov  3 15:23:17 2011	(r34290)
+++ trunk/libmpcodecs/ad_spdif.c	Thu Nov  3 19:43:49 2011	(r34291)
@@ -106,6 +106,7 @@ static int init(sh_audio_t *sh)
     sh->context = spdif_ctx;
     lavf_ctx    = spdif_ctx->lavf_ctx;
 
+    av_register_all();
     lavf_ctx->oformat = av_guess_format(FILENAME_SPDIFENC, NULL, NULL);
     if (!lavf_ctx->oformat)
         goto fail;


More information about the MPlayer-cvslog mailing list