]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vc1dec.c
dnxhddec: return proper error code
[ffmpeg] / libavcodec / vc1dec.c
index 37da794eea302d1504bb7ad4a045b4362bcd2db5..403cbbc89aaf4d156b18005de365f6f30a664f68 100644 (file)
@@ -5598,8 +5598,6 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx)
         avctx->pix_fmt = AV_PIX_FMT_GRAY8;
     avctx->hwaccel = ff_find_hwaccel(avctx);
     v->s.avctx = avctx;
-    avctx->flags |= CODEC_FLAG_EMU_EDGE;
-    v->s.flags   |= CODEC_FLAG_EMU_EDGE;
 
     if (ff_vc1_init_common(v) < 0)
         return -1;