]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xl.c
Fix an exploit in indeo by checking we are not writing out of the strip array.
[ffmpeg] / libavcodec / xl.c
index b607df2cb0ed6e5cf85e97f0fcfb189932795092..8af9a3287a81881905d1f009223566d461290973 100644 (file)
@@ -24,6 +24,7 @@
  * Miro VideoXL codec.
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct VideoXLContext{
@@ -135,4 +136,5 @@ AVCodec xl_decoder = {
     NULL,
     decode_frame,
     CODEC_CAP_DR1,
+    .long_name = NULL_IF_CONFIG_SMALL("Miro VideoXL"),
 };