On 6/27/17, Kieran Kunhya <kier...@obe.tv> wrote:
> On Tue, 27 Jun 2017 at 20:48 Michael Niedermayer <mich...@niedermayer.cc>
> wrote:
>
>> inner reader loop becomes 16% faster
>>
>> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
>> ---
>>  libavcodec/utvideodec.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
>> index 411df47730..1418cde543 100644
>> --- a/libavcodec/utvideodec.c
>> +++ b/libavcodec/utvideodec.c
>> @@ -27,6 +27,8 @@
>>  #include <inttypes.h>
>>  #include <stdlib.h>
>>
>> +#define UNCHECKED_BITSTREAM_READER 1
>> +
>>  #include "libavutil/intreadwrite.h"
>>  #include "avcodec.h"
>>  #include "bswapdsp.h"
>> --
>> 2.13.0
>>
>
> Asking for trouble unless fuzzed well.

Not really, it allocates enough bytes extra.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to