[FFmpeg-devel] [PATCH] avcodec/rv10: check size of s->mb_width * s->mb_height

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Mar 2 20:32:23 CET 2015

On 02.03.2015 19:37, Michael Niedermayer wrote:
> On Mon, Mar 02, 2015 at 07:18:10PM +0100, Andreas Cadhalpun wrote:
>> So would you prefer using avpriv_report_missing_feature, returning
>> an error and checking the return value in
>> libavcodec/mpegvideo_enc.c?
> if you dont have easy access to the real networks binary decoder
> and noone else can check it either then failing with
> avpriv_report_missing_feature, might be safer

OK, attached is a patch for this.

Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-rv10-check-size-of-s-mb_width-s-mb_height.patch
Type: text/x-diff
Size: 3187 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150302/13ced387/attachment.bin>

More information about the ffmpeg-devel mailing list