* filling bitdepth

Originally committed as revision 1811 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Zdenek Kabelac 22 years ago
parent 3ec3877781
commit 693feac556
  1. 2
      libavformat/asf.c

@ -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) {

Loading…
Cancel
Save