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

« back to all changes in this revision

Viewing changes to libavcodec/h264.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:
686
686
    memset(h->sps_buffers, 0, sizeof(h->sps_buffers));
687
687
    memset(h->pps_buffers, 0, sizeof(h->pps_buffers));
688
688
 
 
689
    h->avctx               = avctx;
 
690
    h->rbsp_buffer[0]      = NULL;
 
691
    h->rbsp_buffer[1]      = NULL;
 
692
    h->rbsp_buffer_size[0] = 0;
 
693
    h->rbsp_buffer_size[1] = 0;
689
694
    h->context_initialized = 0;
690
695
 
691
696
    return 0;