Changeset e09ffa45 in ffmpeg


Ignore:
Timestamp:
Dec 17, 2011, 10:25:59 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
86b7db61
Parents:
9cb6a39
git-author:
Michael Niedermayer <michaelni@gmx.at> (12/17/11 22:08:46)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (12/17/11 22:25:59)
Message:

msvideo1enc: Check that dimensions are a multiple of 4.
Fixes Ticket784
Found by: ami_stuff

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/msvideo1enc.c

    r9cb6a39 re09ffa45  
    262262        return -1;
    263263    }
     264    if((avctx->width&3) || (avctx->height&3)){
     265        av_log(avctx, AV_LOG_ERROR, "width and height must be multiplies of 4\n");
     266        return -1;
     267    }
    264268
    265269    avcodec_get_frame_defaults(&c->pic);
Note: See TracChangeset for help on using the changeset viewer.