]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv34.h
Fix an exploit in indeo by checking we are not writing out of the strip array.
[ffmpeg] / libavcodec / rv34.h
index fc3642d8838b3a93f634a360064cc5f4420a4c76..65dbb8a7085b3055aa3ba540b7f4c8af8a014a41 100644 (file)
@@ -123,7 +123,7 @@ typedef struct RV34DecContext{
  */
 int ff_rv34_get_start_offset(GetBitContext *gb, int blocks);
 int ff_rv34_decode_init(AVCodecContext *avctx);
-int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size);
+int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size);
 int ff_rv34_decode_end(AVCodecContext *avctx);
 
 #endif /* AVCODEC_RV34_H */