Mercurial > libavformat.hg
comparison asf.c @ 117:497ae2790081 libavformat
* filling bitdepth
author | kabi |
---|---|
date | Tue, 22 Apr 2003 08:32:33 +0000 |
parents | 25062c9b1f86 |
children | 6b74809d2496 |
comparison
equal
deleted
inserted
replaced
116:6026a7f8ff78 | 117:497ae2790081 |
---|---|
886 get_le32(pb); /* size */ | 886 get_le32(pb); /* size */ |
887 st->codec.width = get_le32(pb); | 887 st->codec.width = get_le32(pb); |
888 st->codec.height = get_le32(pb); | 888 st->codec.height = get_le32(pb); |
889 /* not available for asf */ | 889 /* not available for asf */ |
890 get_le16(pb); /* panes */ | 890 get_le16(pb); /* panes */ |
891 get_le16(pb); /* depth */ | 891 st->codec.bits_per_sample = get_le16(pb); /* depth */ |
892 tag1 = get_le32(pb); | 892 tag1 = get_le32(pb); |
893 url_fskip(pb, 20); | 893 url_fskip(pb, 20); |
894 if (size > 40) { | 894 if (size > 40) { |
895 st->codec.extradata_size = size - 40; | 895 st->codec.extradata_size = size - 40; |
896 st->codec.extradata = av_mallocz(st->codec.extradata_size); | 896 st->codec.extradata = av_mallocz(st->codec.extradata_size); |