Browse Source

Merge commit '6fd91fa11909f27902498648680dbb3d13f1f175'

* commit '6fd91fa11909f27902498648680dbb3d13f1f175':
  h264: increase MAX_SLICES to 32

The available sample decodes correctly before, but the reporter of the bug
claims that this change reduces artifacts. This is thus merged
If someone has samples that decode differently depending in the MAX_SLICES
value, please open a ticket on trac.
Also this change should be reverted if it turns out that the artifacts
that where seen had a different cause

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
74622ad320
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264.h

+ 1
- 1
libavcodec/h264.h View File

@@ -66,7 +66,7 @@
* The maximum number of slices supported by the decoder. * The maximum number of slices supported by the decoder.
* must be a power of 2 * must be a power of 2
*/ */
#define MAX_SLICES 16
#define MAX_SLICES 32


#ifdef ALLOW_INTERLACE #ifdef ALLOW_INTERLACE
#define MB_MBAFF(h) (h)->mb_mbaff #define MB_MBAFF(h) (h)->mb_mbaff


Loading…
Cancel
Save