]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ptx.c
avcodec: Constify AVCodecs
[ffmpeg] / libavcodec / ptx.c
index 19f9305cda09fe60f01a4e4b1e5b175654f0ebfb..47b8926f73febc38301d13efe716c691ae30337c 100644 (file)
@@ -85,7 +85,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     return offset + w*h*bytes_per_pixel;
 }
 
-AVCodec ff_ptx_decoder = {
+const AVCodec ff_ptx_decoder = {
     .name           = "ptx",
     .long_name      = NULL_IF_CONFIG_SMALL("V.Flash PTX image"),
     .type           = AVMEDIA_TYPE_VIDEO,