Procházet zdrojové kódy

Fix icc warning #188: enumerated type mixed with another type.

Originally committed as revision 18514 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos před 16 roky
rodič
revize
34bcada424
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      libavdevice/jack_audio.c

+ 1 - 1
libavdevice/jack_audio.c

@@ -144,7 +144,7 @@ static int start_jack(AVFormatContext *context, AVFormatParameters *params)
     double o, period;
 
     /* Register as a JACK client, using the context filename as client name. */
-    self->client = jack_client_open(context->filename, 0, &status);
+    self->client = jack_client_open(context->filename, JackNullOption, &status);
     if (!self->client) {
         av_log(context, AV_LOG_ERROR, "Unable to register as a JACK client\n");
         return AVERROR(EIO);