[FFmpeg-devel] [PATCH 0/7] Add strict-aliasing-safe type punning	macros
    Mans Rullgard 
    mans
       
    Fri Jan 29 03:12:07 CET 2010
    
    
  
This patch series adds helpers for safe type punning without tripping
over any strict aliasing optimisations.
Please comment.
Mans Rullgard (7):
  Check for may_alias gcc attribute support
  Define av_alias if supported by compiler
  Add alias-safe union typedefs
  Use alias-safe types in AV_[RW] macros
  Use alias-safe types in AV_COPY/SWAP/ZERO macros
  Add AV_COPY32
  Add alias-safe aligned AV_[RW]N macros
 configure                |    5 +++
 libavutil/internal.h     |    8 +++++
 libavutil/intreadwrite.h |   79 ++++++++++++++++++++++++++++++++++++++++------
 3 files changed, 82 insertions(+), 10 deletions(-)
    
    
More information about the ffmpeg-devel
mailing list