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

reimar subversion at mplayerhq.hu
Sat Jan 28 13:15:38 CET 2012


Author: reimar
Date: Sat Jan 28 13:15:38 2012
New Revision: 34618

Log:
Fix avcodec_open2 options argument.

Modified:
   trunk/libmpcodecs/ad_ffmpeg.c

Modified: trunk/libmpcodecs/ad_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/ad_ffmpeg.c	Sat Jan 28 12:50:18 2012	(r34617)
+++ trunk/libmpcodecs/ad_ffmpeg.c	Sat Jan 28 13:15:38 2012	(r34618)
@@ -139,7 +139,7 @@ static int init(sh_audio_t *sh_audio)
     }
 
     /* open it */
-    if (avcodec_open2(lavc_context, lavc_codec, opts) < 0) {
+    if (avcodec_open2(lavc_context, lavc_codec, &opts) < 0) {
         mp_msg(MSGT_DECAUDIO,MSGL_ERR, MSGTR_CantOpenCodec);
         return 0;
     }


More information about the MPlayer-cvslog mailing list