]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/wvenc.c
Merge commit 'f154ef1ae5b03f288dd8c025dab1884b4cb20c1a'
[ffmpeg] / libavformat / wvenc.c
index 0f9bbf222b335d38b80a1a9abcd68df575fa0a2d..d225ed4280e00897f89418c1d58767519a40ab2c 100644 (file)
@@ -38,7 +38,7 @@ static int write_header(AVFormatContext *s)
         av_log(s, AV_LOG_ERROR, "only one stream is supported\n");
         return AVERROR(EINVAL);
     }
-    if (codec->codec_id != CODEC_ID_WAVPACK) {
+    if (codec->codec_id != AV_CODEC_ID_WAVPACK) {
         av_log(s, AV_LOG_ERROR, "unsupported codec\n");
         return AVERROR(EINVAL);
     }
@@ -92,8 +92,8 @@ AVOutputFormat ff_wv_muxer = {
     .long_name         = NULL_IF_CONFIG_SMALL("WavPack"),
     .priv_data_size    = sizeof(WVMuxContext),
     .extensions        = "wv",
-    .audio_codec       = CODEC_ID_WAVPACK,
-    .video_codec       = CODEC_ID_NONE,
+    .audio_codec       = AV_CODEC_ID_WAVPACK,
+    .video_codec       = AV_CODEC_ID_NONE,
     .write_header      = write_header,
     .write_packet      = write_packet,
     .write_trailer     = write_trailer,