drop rtsp_default_protocols which is not part of public API and not used anymore
[ffmpeg.git] / libavdevice / jack_audio.c
index 579cf0e..b41bbdf 100644 (file)
@@ -237,8 +237,8 @@ static int audio_read_header(AVFormatContext *context, AVFormatParameters *param
         return AVERROR(ENOMEM);
     }
 
-    stream->codec->codec_type   = CODEC_TYPE_AUDIO;
-#ifdef WORDS_BIGENDIAN
+    stream->codec->codec_type   = AVMEDIA_TYPE_AUDIO;
+#if HAVE_BIGENDIAN
     stream->codec->codec_id     = CODEC_ID_PCM_F32BE;
 #else
     stream->codec->codec_id     = CODEC_ID_PCM_F32LE;