diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-12 03:08:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-12 03:08:08 +0000 |
commit | 2c77994fc8a3e850d38a20587c231a56e285ee8d (patch) | |
tree | 6582036d50dbedef2e006c00716d170d5a53177a | |
parent | 837d248df67340defb8a8cf8fd09bba8ed89763c (diff) | |
download | ffmpeg-2c77994fc8a3e850d38a20587c231a56e285ee8d.tar.gz |
Change MODE_* to 1<<c so several can be set at the same time.
Originally committed as revision 13754 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/movenc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 892d454280..cd2d25728c 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -31,13 +31,13 @@ #define MOV_INDEX_CLUSTER_SIZE 16384 #define globalTimescale 1000 -#define MODE_MP4 0 -#define MODE_MOV 1 -#define MODE_3GP 2 -#define MODE_PSP 3 // example working PSP command line: +#define MODE_MP4 0x01 +#define MODE_MOV 0x02 +#define MODE_3GP 0x04 +#define MODE_PSP 0x08 // example working PSP command line: // ffmpeg -i testinput.avi -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00001.MP4 -#define MODE_3G2 4 -#define MODE_IPOD 5 +#define MODE_3G2 0x10 +#define MODE_IPOD 0x20 typedef struct MOVIentry { unsigned int flags, size; |