]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggdec.c
Merge commit '124134e42455763b28cc346fed1d07017a76e84e'
[ffmpeg] / libavformat / oggdec.c
index e2b48c1a32a8c63e63c2ba1113f1c1a146bea5ef..26aeb28d7e9929cb1a1e6319cc395702bc32d161 100644 (file)
@@ -607,7 +607,7 @@ static void ogg_validate_keyframe(AVFormatContext *s, int idx, int pstart, int p
 {
     struct ogg *ogg = s->priv_data;
     struct ogg_stream *os = ogg->streams + idx;
-    if (psize && s->streams[idx]->codec->codec_id == CODEC_ID_THEORA) {
+    if (psize && s->streams[idx]->codec->codec_id == AV_CODEC_ID_THEORA) {
         if (!!(os->pflags & AV_PKT_FLAG_KEY) != !(os->buf[pstart] & 0x40)) {
             os->pflags ^= AV_PKT_FLAG_KEY;
             av_log(s, AV_LOG_WARNING, "Broken file, %skeyframe not correctly marked.\n",