1
0
Fork 0

avformat/mov: Update bits_per_coded_sample after read pcmC

Fix #10878
This commit is contained in:
Zhao Zhili 2024-02-22 17:37:00 +08:00
parent ab8aab5e2f
commit b56b343e43
1 changed files with 1 additions and 0 deletions

View File

@ -1914,6 +1914,7 @@ static int mov_read_pcmc(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if (format_flags & 1) // indicates little-endian format. If not present, big-endian format is used
set_last_stream_little_endian(c->fc);
st->codecpar->bits_per_coded_sample = av_get_bits_per_sample(st->codecpar->codec_id);
return 0;
}