]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion1.c
paf: prevent invalid write
[ffmpeg] / libavcodec / truemotion1.c
index b4687f193a75a144fb5cd12c043e035763a45e8d..15a5aaaee3731ea8add6658313f8185e27f20e6a 100644 (file)
@@ -903,7 +903,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx)
 AVCodec ff_truemotion1_decoder = {
     .name           = "truemotion1",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_TRUEMOTION1,
+    .id             = AV_CODEC_ID_TRUEMOTION1,
     .priv_data_size = sizeof(TrueMotion1Context),
     .init           = truemotion1_decode_init,
     .close          = truemotion1_decode_end,