Browse Source

avformat/hnm: fix decoding of 256x256 video

Fixes Ticket3464
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
79d82a6574
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/hnm.c

+ 1
- 1
libavformat/hnm.c View 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);


Loading…
Cancel
Save