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

« back to all changes in this revision

Viewing changes to libavcodec/libmp3lame.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:
94
94
    s->avctx = avctx;
95
95
 
96
96
    /* initialize LAME and get defaults */
97
 
    if ((s->gfp = lame_init()) == NULL)
 
97
    if (!(s->gfp = lame_init()))
98
98
        return AVERROR(ENOMEM);
99
99
 
100
100
    lame_set_num_channels(s->gfp, avctx->channels);