# HG changeset patch # User reimar # Date 1327752938 0 # Node ID c897dbc5f1de86743888b15f35cb0d4b061c0cb6 # Parent 65f42b3c0efcea9e0b8b00d63dbf5987982f6961 Fix avcodec_open2 options argument. diff -r 65f42b3c0efc -r c897dbc5f1de libmpcodecs/ad_ffmpeg.c --- a/libmpcodecs/ad_ffmpeg.c Sat Jan 28 11:50:18 2012 +0000 +++ b/libmpcodecs/ad_ffmpeg.c Sat Jan 28 12:15:38 2012 +0000 @@ -139,7 +139,7 @@ } /* 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; }