~ubuntu-branches/ubuntu/utopic/libav/utopic

« back to all changes in this revision

Viewing changes to libavcodec/vorbis.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-05-11 12:28:45 UTC
  • mfrom: (1.3.42 sid)
  • Revision ID: package-import@ubuntu.com-20140511122845-zxdom35pimot5eat
Tags: 6:10.1-1
* New upstream release 10:
   - pcm-dvd: Fix 20bit decoding (bug/592)
   - avi: Improve non-interleaved detection (bug/666)
   - arm: hpeldsp: fix put_pixels8_y2_{,no_rnd_}armv6
   - arm: hpeldsp: prevent overreads in armv6 asm (bug/646)
   - avfilter: Add missing emms_c when needed
   - rtmpproto: Check the buffer sizes when copying app/playpath strings
   - swscale: Fix an undefined behaviour
   - vp9: Read the frame size as unsigned
   - dcadec: Use correct channel count in stereo downmix check
   - dcadec: Do not decode the XCh extension when downmixing to stereo
   - matroska: add the Opus mapping
   - matroskadec: read the CodecDelay element
   - rtmpproto: Make sure to pass on the error code if read_connect failed
   - lavr: allocate the resampling buffer with a positive size
   - mp3enc: Properly write bitrate value in XING header (Closes: #736088)
   - golomb: Fix the implementation of get_se_golomb_long
* Drop debian/libav-tools.maintscript. ffserver is no longer found in
  stable, and this seems to cause other problems today (Closes: #742676)

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
    return 0;
118
118
}
119
119
 
120
 
int ff_vorbis_ready_floor1_list(AVCodecContext *avccontext,
 
120
int ff_vorbis_ready_floor1_list(AVCodecContext *avctx,
121
121
                                vorbis_floor1_entry *list, int values)
122
122
{
123
123
    int i;
143
143
        int j;
144
144
        for (j = i + 1; j < values; j++) {
145
145
            if (list[i].x == list[j].x) {
146
 
                av_log(avccontext, AV_LOG_ERROR,
 
146
                av_log(avctx, AV_LOG_ERROR,
147
147
                       "Duplicate value found in floor 1 X coordinates\n");
148
148
                return AVERROR_INVALIDDATA;
149
149
            }