]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/apc.c
Add RTP packetization of VP8
[ffmpeg] / libavformat / apc.c
index 14701d92296150575d8197ed785ce2a51e9d6121..9b4a8adc1d441a080f0fca65937dbab2789ca947 100644 (file)
@@ -43,7 +43,7 @@ static int apc_read_header(AVFormatContext *s, AVFormatParameters *ap)
     if (!st)
         return AVERROR(ENOMEM);
 
-    st->codec->codec_type = CODEC_TYPE_AUDIO;
+    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
     st->codec->codec_id = CODEC_ID_ADPCM_IMA_WS;
 
     get_le32(pb); /* number of samples */