Fix inference of bit-depth for YUV files
Layers can be encoded at different bit-depths
So, when decoder opens a file for reconstructed pictures of a particular layer, it should get bit-depth from first picture of the same layer.
Layers can be encoded at different bit-depths
So, when decoder opens a file for reconstructed pictures of a particular layer, it should get bit-depth from first picture of the same layer.