~ubuntu-branches/debian/experimental/libav/experimental

« back to all changes in this revision

Viewing changes to libavcodec/lcldec.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-08-17 22:33:40 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20140817223340-net3rzywma60pzhz
Tags: 6:11~beta1-1
* New upstream Release v11~alpha2
* build against libgnutls28-dev (Closes: #758447)
* Bump shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
571
571
 
572
572
    /* Allocate decompression buffer */
573
573
    if (c->decomp_size) {
574
 
        if ((c->decomp_buf = av_malloc(max_decomp_size)) == NULL) {
 
574
        if (!(c->decomp_buf = av_malloc(max_decomp_size))) {
575
575
            av_log(avctx, AV_LOG_ERROR, "Can't allocate decompression buffer.\n");
576
576
            return AVERROR(ENOMEM);
577
577
        }