]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hnm.c
hevc: C code update for new motion compensation
[ffmpeg] / libavformat / hnm.c
index 8c381021c5bb4597b9fe20c0fb80f52f04d91907..1320fa520620061ec18fc17e04c7d841f8c2a5b4 100644 (file)
@@ -92,7 +92,7 @@ static int hnm_read_header(AVFormatContext *s)
 
     hnm->currentframe = 0;
 
-    if (hnm->width  < 320 || hnm->width  > 640 ||
+    if (hnm->width  < 256 || hnm->width  > 640 ||
         hnm->height < 150 || hnm->height > 480) {
         av_log(s, AV_LOG_ERROR,
                "invalid resolution: %ux%u\n", hnm->width, hnm->height);