diff libmpcodecs/ad_ffmpeg.c @ 37110:4e00eb3f4c76

ad_ffmpeg: Set up audio format already during init. It seems otherwise mencoder can get confused.
author reimar
date Tue, 20 May 2014 19:29:31 +0000
parents a706bf2ed700
children
line wrap: on
line diff
--- a/libmpcodecs/ad_ffmpeg.c	Sun May 18 17:51:13 2014 +0000
+++ b/libmpcodecs/ad_ffmpeg.c	Tue May 20 19:29:31 2014 +0000
@@ -190,6 +190,7 @@
       default:
           return 0;
   }
+  setup_format(sh_audio, sh_audio->context);
   return 1;
 }