codec: videotoolbox: check if H264 needs restart
[vlc.git] / contrib / src / faad2 / faad2-disable-drc.patch
blobb70dc640a509aded0e269293201ff628f5cdc2b1
1 diff -Naur faad2-2.7.orig/libfaad/specrec.c faad2-2.7/libfaad/specrec.c
2 --- faad2-2.7.orig/libfaad/specrec.c 2009-01-27 00:51:15.000000000 +0100
3 +++ faad2-2.7/libfaad/specrec.c 2017-02-23 10:31:40.527397266 +0100
4 @@ -1000,12 +1000,13 @@
5 spec_coef, hDecoder->frameLength);
7 /* drc decoding */
8 +#if 0
9 if (hDecoder->drc->present)
11 if (!hDecoder->drc->exclude_mask[sce->channel] || !hDecoder->drc->excluded_chns_present)
12 drc_decode(hDecoder->drc, spec_coef);
15 +#endif
16 /* filter bank */
17 #ifdef SSR_DEC
18 if (hDecoder->object_type != SSR)
19 @@ -1241,6 +1242,7 @@
20 spec_coef2, hDecoder->frameLength);
22 /* drc decoding */
23 +#if 0
24 if (hDecoder->drc->present)
26 if (!hDecoder->drc->exclude_mask[cpe->channel] || !hDecoder->drc->excluded_chns_present)
27 @@ -1248,7 +1250,7 @@
28 if (!hDecoder->drc->exclude_mask[cpe->paired_channel] || !hDecoder->drc->excluded_chns_present)
29 drc_decode(hDecoder->drc, spec_coef2);
32 +#endif
33 /* filter bank */
34 #ifdef SSR_DEC
35 if (hDecoder->object_type != SSR)