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

« back to all changes in this revision

Viewing changes to libavformat/rtpenc.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:
142
142
        return AVERROR(EIO);
143
143
    }
144
144
    s->buf = av_malloc(s1->packet_size);
145
 
    if (s->buf == NULL) {
 
145
    if (!s->buf) {
146
146
        return AVERROR(ENOMEM);
147
147
    }
148
148
    s->max_payload_size = s1->packet_size - 12;