summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-04-22 08:32:33 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-04-22 08:32:33 +0000
commit693feac556d83c28a215ebbb6b62568a76898823 (patch)
treebab708ec7bc96854ea6957e25dba797786c5eb70 /libavformat
parent3ec3877781d02746352650147435452e271041c6 (diff)
* filling bitdepth
Originally committed as revision 1811 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index c2a3318d87..e9826adb79 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -888,7 +888,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec.height = get_le32(pb);
/* not available for asf */
get_le16(pb); /* panes */
- get_le16(pb); /* depth */
+ st->codec.bits_per_sample = get_le16(pb); /* depth */
tag1 = get_le32(pb);
url_fskip(pb, 20);
if (size > 40) {