~ubuntu-branches/ubuntu/wily/libav/wily

« back to all changes in this revision

Viewing changes to libavcodec/utvideodec.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Ramacher
  • Date: 2015-05-05 21:38:02 UTC
  • mfrom: (1.3.55 sid)
  • Revision ID: package-import@ubuntu.com-20150505213802-988k0zj1ebw8qz25
Tags: 6:11.3-3
* Fix use of illegal instruction on i586. (Closes: #783082)
  - debian/confflags: Pass correct value to --cpu. Thanks to Bernhard
    Übelacker for the patch.
  - debian/patches:
    + 01-configure-disable-i686-for-i586.patch: Upstream patch to disable
      i686 on instructions on i586.
    + 02-configure-disable-ebx-gcc-4.9.patch: Workaround build failure with
      gcc 4.9 and newer by disabling the use of ebx in handwritten assembler
      code. Thanks to Bernhard Übelacker for the initial patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
        slice_start  = ((slice * height) / slices) & cmask;
214
214
        slice_height = ((((slice + 1) * height) / slices) & cmask) -
215
215
                       slice_start;
 
216
        if (!slice_height)
 
217
            continue;
216
218
 
217
219
        bsrc = src + slice_start * stride;
218
220
 
269
271
        slice_height   = ((((slice + 1) * height) / slices) & cmask) -
270
272
                         slice_start;
271
273
        slice_height >>= 1;
 
274
        if (!slice_height)
 
275
            continue;
272
276
 
273
277
        bsrc = src + slice_start * stride;
274
278