]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libtheoraenc.c
paf: prevent invalid write
[ffmpeg] / libavcodec / libtheoraenc.c
index 45712d48c2468228f720016c8df197433393d685..13a4d3516b3d01046104b6fcb778bef2b8ad5df6 100644 (file)
@@ -361,7 +361,7 @@ static av_cold int encode_close(AVCodecContext* avc_context)
 AVCodec ff_libtheora_encoder = {
     .name           = "libtheora",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_THEORA,
+    .id             = AV_CODEC_ID_THEORA,
     .priv_data_size = sizeof(TheoraContext),
     .init           = encode_init,
     .close          = encode_close,