]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dv.c
g723.1dec: Make postfilter user switchable
[ffmpeg] / libavcodec / dv.c
index cd2cd4ba8f7e3b75359f6e4eadeb3c74f99e944a..4ea3099cd9d97bbf29b66e21b1ace07fb51dd969 100644 (file)
@@ -335,6 +335,10 @@ static av_cold int dvvideo_init_encoder(AVCodecContext *avctx)
         ff_dv_print_profiles(avctx, AV_LOG_ERROR);
         return AVERROR(EINVAL);
     }
+    if (avctx->height > 576) {
+        av_log(avctx, AV_LOG_ERROR, "DVCPRO HD encoding is not supported.\n");
+        return AVERROR_PATCHWELCOME;
+    }
 
     dv_vlc_map_tableinit();