Revision 18a508c5

View differences:

libavcodec/interplayvideo.c
900 900
    IpvideoContext *s = avctx->priv_data;
901 901
    AVPaletteControl *palette_control = avctx->palctrl;
902 902

  
903
    /* compressed buffer needs to be large enough to at least hold an entire
904
     * decoding map */
905
    if (buf_size < s->decoding_map_size)
906
        return buf_size;
907

  
903 908
    s->decoding_map = buf;
904 909
    s->buf = buf + s->decoding_map_size;
905 910
    s->size = buf_size - s->decoding_map_size;

Also available in: Unified diff