Revision 2874c81c libavcodec/flacenc.c

View differences:

libavcodec/flacenc.c
352 352
    /* initialize MD5 context */
353 353
    s->md5ctx = av_malloc(av_md5_size);
354 354
    if(!s->md5ctx)
355
        return AVERROR_NOMEM;
355
        return AVERROR(ENOMEM);
356 356
    av_md5_init(s->md5ctx);
357 357

  
358 358
    streaminfo = av_malloc(FLAC_STREAMINFO_SIZE);

Also available in: Unified diff