]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dv.c
fft: Remove pointless #ifdefs around function declarations
[ffmpeg] / libavcodec / dv.c
index 1ea04be9e8359372bdc64544f7c1b004e0985e68..5253b7f88e2ce3ebf005e3dcdcf74e79c568ecbd 100644 (file)
@@ -38,9 +38,9 @@
  * DV codec.
  */
 
+#include "libavutil/internal.h"
 #include "libavutil/pixdesc.h"
 #include "avcodec.h"
-#include "dsputil.h"
 #include "get_bits.h"
 #include "internal.h"
 #include "put_bits.h"
@@ -313,6 +313,7 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
     s->idct_put[1] = ff_simple_idct248_put;  // FIXME: need to add it to DSP
     memcpy(s->dv_zigzag[1], ff_zigzag248_direct, 64);
 
+    avcodec_get_frame_defaults(&s->picture);
     avctx->coded_frame = &s->picture;
     s->avctx = avctx;
     avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT;