projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed299b
)
Use AV_RL32() in opt_codec_tag().
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Sun, 31 Oct 2010 22:48:44 +0000
(22:48 +0000)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Sun, 31 Oct 2010 22:48:44 +0000
(22:48 +0000)
Originally committed as revision 25618 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index 7ad055d9190a3a5e3c3d9aa4e2e5d283a2f4a5e8..edea4fd0fea6297277ca72d29706253ce30edae0 100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-39,6
+39,7
@@
#include "libavcore/parseutils.h"
#include "libavutil/colorspace.h"
#include "libavutil/fifo.h"
+#include "libavutil/intreadwrite.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avstring.h"
#include "libavutil/libm.h"
@@
-2868,7
+2869,7
@@
static int opt_codec_tag(const char *opt, const char *arg)
*codec_tag = strtol(arg, &tail, 0);
if (!tail || *tail)
- *codec_tag =
arg[0] + (arg[1]<<8) + (arg[2]<<16) + (arg[3]<<24
);
+ *codec_tag =
AV_RL32(arg
);
return 0;
}