[FFmpeg-devel] [PATCH 1/3] avcodec/ac3dec: Optimize frame start search

Michael Niedermayer michael at niedermayer.cc
Wed Jan 16 00:38:02 EET 2019


On Thu, Jan 10, 2019 at 01:37:07AM +0100, Michael Niedermayer wrote:
> On Wed, Jan 09, 2019 at 09:40:05PM +0100, Carl Eugen Hoyos wrote:
> > 2019-01-09 1:01 GMT+01:00, Michael Niedermayer <michael at niedermayer.cc>:
> > 
> > > +    for (i= 1; i<buf_size; i+=2) {
> > 
> > This looks too inconsistent.
> 
> locally done:
> 
> -    for (i= 1; i<buf_size; i+=2) {
> +    for (i = 1; i < buf_size; i += 2) {

will apply with this change

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190115/41f8405b/attachment.sig>


More information about the ffmpeg-devel mailing list