]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tta.c
lavc decoders: properly initialize AVFrame.
[ffmpeg] / libavformat / tta.c
index 1726119a6d27b952195b2cb6a75307c7edc8984a..9d3d295aba548ee4a58f8a567f30a73cff4696f9 100644 (file)
@@ -102,7 +102,7 @@ static int tta_read_header(AVFormatContext *s)
     avio_skip(s->pb, 4); // seektable crc
 
     st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
-    st->codec->codec_id = CODEC_ID_TTA;
+    st->codec->codec_id = AV_CODEC_ID_TTA;
     st->codec->channels = channels;
     st->codec->sample_rate = samplerate;
     st->codec->bits_per_coded_sample = bps;