Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_
authorMartin Storsjö <martin@martin.st>
Fri, 2 Apr 2010 13:33:51 +0000 (13:33 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 2 Apr 2010 13:33:51 +0000 (13:33 +0000)
Originally committed as revision 22776 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/beosaudio.cpp

index c22cb9b..9f32571 100644 (file)
@@ -368,7 +368,7 @@ static int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap)
         return AVERROR(EIO);
     }
     /* take real parameters */
         return AVERROR(EIO);
     }
     /* take real parameters */
-    st->codec->codec_type = CODEC_TYPE_AUDIO;
+    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
     st->codec->codec_id = s->codec_id;
     st->codec->sample_rate = s->sample_rate;
     st->codec->channels = s->channels;
     st->codec->codec_id = s->codec_id;
     st->codec->sample_rate = s->sample_rate;
     st->codec->channels = s->channels;