]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparsetheora.c
ffplay: get rid of void casts in the option table
[ffmpeg] / libavformat / oggparsetheora.c
index d646efcbfc719652acbb56be60d056dd8a6d8bb3..7762c00475432aa35f41c34b07d17fbdb3f600fa 100644 (file)
@@ -107,10 +107,10 @@ theora_header (AVFormatContext * s, int idx)
         thp->gpmask = (1 << thp->gpshift) - 1;
 
         st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-        st->codec->codec_id = CODEC_ID_THEORA;
+        st->codec->codec_id = AV_CODEC_ID_THEORA;
         st->need_parsing = AVSTREAM_PARSE_HEADERS;
 
-    } else if (os->buf[os->pstart] == 0x83) {
+    } else if (os->buf[os->pstart] == 0x81) {
         ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 7, os->psize - 8);
     }