Revision 2874c81c libavcodec/gif.c

View differences:

libavcodec/gif.c
133 133
    avctx->coded_frame = &s->picture;
134 134
    s->lzw = av_mallocz(ff_lzw_encode_state_size);
135 135
    if (!s->lzw)
136
        return AVERROR_NOMEM;
136
        return AVERROR(ENOMEM);
137 137
    s->buf = av_malloc(avctx->width*avctx->height*2);
138 138
    if (!s->buf)
139
         return AVERROR_NOMEM;
139
         return AVERROR(ENOMEM);
140 140
    return 0;
141 141
}
142 142

  

Also available in: Unified diff