*/
/**
- * @file libavcodec/dirac.c
+ * @file
* Dirac Decoder
* @author Marco Gerards <marco@gnu.org>
*/
+#include "libavutil/imgutils.h"
#include "dirac.h"
#include "avcodec.h"
#include "golomb.h"
if (parse_source_parameters(avctx, gb, source))
return -1;
- if (avcodec_check_dimensions(avctx, source->width, source->height))
+ if (av_image_check_size(source->width, source->height, 0, avctx))
return -1;
avcodec_set_dimensions(avctx, source->width, source->height);