This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Implement X_NE() macro.
Originally committed as revision 18158 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Stefano Sabatini
16 years ago
parent
e2a38af96e
commit
8199ea3b8c
1 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
libavcodec/imgconvert.c
+ 6
- 0
libavcodec/imgconvert.c
View File
@@ -499,6 +499,12 @@ static enum PixelFormat avcodec_get_pix_fmt_internal(const char *name)
return PIX_FMT_NONE;
return PIX_FMT_NONE;
}
}
#ifdef WORDS_BIGENDIAN
# define X_NE(be, le) be
#else
# define X_NE(be, le) le
#endif
enum PixelFormat avcodec_get_pix_fmt(const char *name)
enum PixelFormat avcodec_get_pix_fmt(const char *name)
{
{
#ifdef WORDS_BIGENDIAN
#ifdef WORDS_BIGENDIAN
Write
Preview
Loading…
Cancel
Save