aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-07-18 09:17:49 +1000
committerZane van Iperen <zane@zanevaniperen.com>2021-07-19 10:47:24 +1000
commitb28a3135af12efa7d7e275d5557a7e994b12a3f4 (patch)
treeb191da9db4d189f1f9dd4079c86d264fdf280f83
parent9f502d8c8d0b2dc44a4237b1c3cbed7ee73dd7e8 (diff)
downloadffmpeg-b28a3135af12efa7d7e275d5557a7e994b12a3f4.tar.gz
avformat/argo_asf: don't set bits_per_raw_sample
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
-rw-r--r--libavformat/argo_asf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c
index c3ac49fdc2..ef647ae20c 100644
--- a/libavformat/argo_asf.c
+++ b/libavformat/argo_asf.c
@@ -109,12 +109,7 @@ int ff_argo_asf_fill_stream(AVFormatContext *s, AVStream *st, const ArgoASFFileH
st->codecpar->bits_per_coded_sample = 4;
- if (ckhdr->flags & ASF_CF_BITS_PER_SAMPLE)
- st->codecpar->bits_per_raw_sample = 16;
- else
- st->codecpar->bits_per_raw_sample = 8;
-
- if (st->codecpar->bits_per_raw_sample != 16) {
+ if (!(ckhdr->flags & ASF_CF_BITS_PER_SAMPLE)) {
/* The header allows for these, but I've never seen any files with them. */
avpriv_request_sample(s, "Non 16-bit samples");
return AVERROR_PATCHWELCOME;