Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: source/patched-ffmpeg-mt/libavutil/common.h

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/libavutil/avutil.h ('k') | source/patched-ffmpeg-mt/libavutil/cpu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavutil/common.h
===================================================================
--- source/patched-ffmpeg-mt/libavutil/common.h (revision 59334)
+++ source/patched-ffmpeg-mt/libavutil/common.h (working copy)
@@ -35,7 +35,14 @@
#include <stdlib.h>
#include <string.h>
#include "attributes.h"
+#include "libavutil/avconfig.h"
+#if AV_HAVE_BIGENDIAN
+# define AV_NE(be, le) (be)
+#else
+# define AV_NE(be, le) (le)
+#endif
+
//rounded division & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
/* assume b>0 */
« no previous file with comments | « source/patched-ffmpeg-mt/libavutil/avutil.h ('k') | source/patched-ffmpeg-mt/libavutil/cpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698