]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparseflac.c
Fix compile on Darwin (FATE). Compile error:
[ffmpeg] / libavformat / oggparseflac.c
index 9a9ca7ead779f877c4b1481c73fa16f9c93904ae..e5034af3a033c0ed51aa26e5c160250b6b4431df 100644 (file)
@@ -57,7 +57,7 @@ flac_header (AVFormatContext * s, int idx)
 
         ff_flac_parse_streaminfo(st->codec, &si, streaminfo_start);
 
-        st->codec->codec_type = CODEC_TYPE_AUDIO;
+        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
         st->codec->codec_id = CODEC_ID_FLAC;
 
         st->codec->extradata =
@@ -78,7 +78,7 @@ static int
 old_flac_header (AVFormatContext * s, int idx)
 {
     AVStream *st = s->streams[idx];
-    st->codec->codec_type = CODEC_TYPE_AUDIO;
+    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
     st->codec->codec_id = CODEC_ID_FLAC;
 
     return 0;