Commit efb2473f authored by michael's avatar michael

av_uninit() to suppress false uninitialized warnings from gcc without deoptimizing code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17104 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bb320269
......@@ -93,6 +93,14 @@
#endif
#endif
#ifndef av_uninit
#if defined(__GNUC__)
# define av_uninit(x) x=x
#else
# define av_uninit(x) x
#endif
#endif
//rounded division & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
/* assume b>0 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment