OSDN Git Service

Fix icc warning #188: enumerated type mixed with another type.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 14 Apr 2009 22:21:53 +0000 (22:21 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 14 Apr 2009 22:21:53 +0000 (22:21 +0000)
Originally committed as revision 18514 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/jack_audio.c

index 8232a18..579cf0e 100644 (file)
@@ -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);