fate: Convert the paletted output in the brenderpix tests to rgb24

This makes the output consistent on big-endian systems.
isom: Simplify mov_rewrite_dvd_sub_extradata()

This avoids the 2nd buffer and fixes the palette truncated check
isom: only write the size if its non zero in mov_rewrite_dvd_sub_extradata()

Sample-Id: NeroRecodeSample.mp4
mov: fill in subtitle dimensions after parsing tkhd

Sample-Id: NeroRecodeSample.mp4
mov: call mov_rewrite_dvd_sub_extradata() after parsing dimensions from tkhd

This also moves mov_rewrite_dvd_sub_extradata() to mov.c.

Sample-Id: NeroRecodeSample.mp4
libmp3lame: allow joint stereo to be disabled
libmp3lame: add comments about CBR/VBR modes
libmp3lame: add ABR support
libx265: Bump version requirement

Build 13 has a crucial fix which makes x265_encode_headers work
as its always been documented.

Previous to this, the check was incorrect.

Also allows for use of the repeat headers flag.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libx265: Use the repeat headers flag when not using global headers

This allows proper muxing and seeking in things like MPEG-TS, by
placing headers by random access points.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
h263: improve hwaccel #ifdefs
vc1dec: improve hwaccel #ifdefs
mov: Unbreak sbtl writing
dxva2: Directly use AVFrames

The assumption of (MPEG) Picture and H264Picture layout matching might
not hold true in the future.

Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
OpenEXR decoder

Additional fixes and enhancements by Vittorio Giovara, Gonzalo Garramuno,
Nicolas George, Paul B Mahol and Michael Niedermayer.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
fate: add exr tests

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
codec_desc: set lossless attribute for SGI and DPX
sgi: K&R formatting cosmetics
sgi: check maximum supported resolution

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
sgi: fix end of line boundary detection