[MPlayer-cvslog] r37206 - trunk/libmpcodecs/ad_ffmpeg.c

reimar subversion at mplayerhq.hu
Tue May 20 21:29:32 CEST 2014


Author: reimar
Date: Tue May 20 21:29:31 2014
New Revision: 37206

Log:
ad_ffmpeg: Set up audio format already during init.

It seems otherwise mencoder can get confused.

Modified:
   trunk/libmpcodecs/ad_ffmpeg.c

Modified: trunk/libmpcodecs/ad_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/ad_ffmpeg.c	Sun May 18 19:51:13 2014	(r37205)
+++ trunk/libmpcodecs/ad_ffmpeg.c	Tue May 20 21:29:31 2014	(r37206)
@@ -190,6 +190,7 @@ static int init(sh_audio_t *sh_audio)
       default:
           return 0;
   }
+  setup_format(sh_audio, sh_audio->context);
   return 1;
 }
 


More information about the MPlayer-cvslog mailing list