On Fri, Feb 12, 2016 at 6:12 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Thu, Feb 11, 2016 at 08:41:16PM -0800, Mark Reid wrote: >> --- >> libavcodec/dnxhd_parser.c | 11 +++++++---- >> libavformat/dnxhddec.c | 7 ++++--- >> 2 files changed, 11 insertions(+), 7 deletions(-) > > what effect on speed does this have ? > AV_RB*() might be better than memcmp(), also a inline function or > macro might be better if this is called alot >
Its definitely a lot worse then my initial attempt. It gets called lots in the parser loop. I think I got a better idea and will send a new patch. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel