OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ae7a85
)
set block align to stsd audio v2 bytes per frame for adpcm ms and ima wav, fix surge...
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sat, 4 Aug 2007 12:33:34 +0000
(12:33 +0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sat, 4 Aug 2007 12:33:34 +0000
(12:33 +0000)
Originally committed as revision 9895 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
f0b7d32
..
68c81de
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-844,6
+844,10
@@
static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec->codec_type = CODEC_TYPE_AUDIO; /* force type after stsd for m1a hdlr */
st->need_parsing = AVSTREAM_PARSE_FULL;
break;
+ case CODEC_ID_ADPCM_MS:
+ case CODEC_ID_ADPCM_IMA_WAV:
+ st->codec->block_align = sc->bytes_per_frame;
+ break;
default:
break;
}