changeset 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 a625ce680fc3
children c0ab95217af3
files libmpcodecs/ad_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 }