Commit 74ea68dd authored by kabi's avatar kabi

* filling bitdepth


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1811 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e8280a7b
...@@ -888,7 +888,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -888,7 +888,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec.height = get_le32(pb); st->codec.height = get_le32(pb);
/* not available for asf */ /* not available for asf */
get_le16(pb); /* panes */ get_le16(pb); /* panes */
get_le16(pb); /* depth */ st->codec.bits_per_sample = get_le16(pb); /* depth */
tag1 = get_le32(pb); tag1 = get_le32(pb);
url_fskip(pb, 20); url_fskip(pb, 20);
if (size > 40) { if (size > 40) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment