[FFmpeg-devel] [PATCH 2/2] Decode DTS XXCH extension

Nick Brereton nick at nbrereton.net
Tue Jun 26 21:18:48 CEST 2012


On 2012-06-26 12:03, Benjamin Larsson wrote:

>> @@ -1979,7 +2105,6 @@ static int dca_decode_frame(AVCodecContext 
>> *avctx, void *data,
>> /* only scan for extensions if ext_descr was unknown or indicated a
>> * supported XCh extension */
>> if (s->core_ext_mask < 0 || s->core_ext_mask & (DCA_EXT_XCH | 
>> DCA_EXT_XXCH)) {
>> -
>> /* if ext_descr was unknown, clear s->core_ext_mask so that the
>> * extensions scan can fill it up */
>> s->core_ext_mask = FFMAX(s->core_ext_mask, 0);
>
> This hunk is unneeded.

Fixed, updated patch attached.

Nick

>
> LGTM otherwise.
>
> MvH
> Benjamin Larsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Generate-channel-layout-reordering-for-DTS-XXCH-exte.patch
Type: text/x-patch
Size: 23364 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120626/06c41161/attachment.bin>


More information about the ffmpeg-devel mailing list