avformat/mxfdec: do not use sound essence descriptor quantization bits for bits_per_c...
authorMarton Balint <cus@passwd.hu>
Sun, 26 Aug 2018 19:23:02 +0000 (21:23 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 5 Sep 2018 20:41:09 +0000 (22:41 +0200)
commit6aaf1b504c6a0e0e5e2f4c97712b0f83a4115e10
treee98b234c1ccf7e4b18d07aa212d6484fa99a6b08
parent776909e42e2a9cef37035f070464bbbfa3441c39
avformat/mxfdec: do not use sound essence descriptor quantization bits for bits_per_coded_sample

It refers to the uncompressed quantization, therefore is not correct for AAC.

Also change mxf_set_pts to work based on current edit unit if
bits_per_coded_sample is not available.

Fixes error messages in the sample of ticket #7366.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mxfdec.c