]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/g2meet.c
tests/fate/aac: Add bitexact flags to fate-aac-pns-encode
[ffmpeg] / libavcodec / g2meet.c
index ba83c673373dbffc55dc411c75c76d02ce7adb94..2815704997f9399af616bd97903fd620870386a9 100644 (file)
@@ -1423,8 +1423,7 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
             }
             c->width  = bytestream2_get_be32(&bc);
             c->height = bytestream2_get_be32(&bc);
-            if (c->width  < 16 || c->width  > c->orig_width ||
-                c->height < 16 || c->height > c->orig_height) {
+            if (c->width < 16 || c->height < 16) {
                 av_log(avctx, AV_LOG_ERROR,
                        "Invalid frame dimensions %dx%d\n",
                        c->width, c->height);