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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Nov 3 20:00:04 CET 2011


On Thu, Nov 03, 2011 at 07:43:50PM +0100, cehoyos wrote:
> 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();

Please use the init_avformat function from av_helpers instead.


More information about the MPlayer-cvslog mailing list