Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 747337
Collapse All | Expand All

(-)a/libavutil/mem.c (-1 / +2 lines)
Lines 71-76 void free(void *ptr); Link Here
71
static size_t max_alloc_size= INT_MAX;
71
static size_t max_alloc_size= INT_MAX;
72
72
73
void av_max_alloc(size_t max){
73
void av_max_alloc(size_t max){
74
    if (!max)
75
        max = INT_MAX; /* be compatible to older(< 4.3) versions */
74
    max_alloc_size = max;
76
    max_alloc_size = max;
75
}
77
}
76
78
77
- 

Return to bug 747337