aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-02-28 03:16:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-02-28 03:16:13 +0000
commit386b26c9fe5e6e82a0b8f9476d584651fcdaaf74 (patch)
tree33abdb1b6be9eb6a8a61a222ed26a070abf5d144
parent72aef1987efcbdb16f32d94efbc6f9db794ddccf (diff)
downloadffmpeg-386b26c9fe5e6e82a0b8f9476d584651fcdaaf74.tar.gz
set block align
Originally committed as revision 3993 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c
index b48cfda8c8..fd7e955c28 100644
--- a/libavformat/rm.c
+++ b/libavformat/rm.c
@@ -512,7 +512,7 @@ static void rm_read_audio_stream_info(AVFormatContext *s, AVStream *st,
get_be32(pb); /* ??? */
get_be32(pb); /* ??? */
sub_packet_h= get_be16(pb); /* 1 */
- get_be16(pb); /* frame size */
+ st->codec.block_align= get_be16(pb); /* frame size */
get_be16(pb); /* sub packet size */
get_be16(pb); /* ??? */
st->codec.sample_rate = get_be16(pb);