OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65007a4
)
only set le if value is 1, fix boom5.mov, issue #770
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Fri, 9 Jan 2009 22:13:37 +0000
(22:13 +0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Fri, 9 Jan 2009 22:13:37 +0000
(22:13 +0000)
Originally committed as revision 16507 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
5ba83e4
..
c0c057a
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-575,7
+575,8
@@
static int mov_read_enda(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
AVStream *st = c->fc->streams[c->fc->nb_streams-1];
int little_endian = get_be16(pb);
- if (little_endian) {
+ dprintf(c->fc, "enda %d\n", little_endian);
+ if (little_endian == 1) {
switch (st->codec->codec_id) {
case CODEC_ID_PCM_S24BE:
st->codec->codec_id = CODEC_ID_PCM_S24LE;