Quoting Nicolas George (2020-03-16 11:03:41) > Anton Khirnov (12020-03-16): > > I'd think any decent compiler will already make that transformation. > > Profile, don't speculate. gcc doesn't make that optimization for > printf(). > > And no compiler could do it for av_log() anyway.
Okay, seems it doesn't. I wonder why. But in any case, optimizing error messages for performance rather than readability seems rather backwards. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".