]> git.sesse.net Git - ffmpeg/commit
avcodec: Add bits_per_raw_sample to AVCodecParameters
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 12 Apr 2016 11:10:09 +0000 (13:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Apr 2016 22:33:55 +0000 (00:33 +0200)
commit21acc4db5fa3f11997b2a27f03e87eac4d69e088
tree21400c16abb3ad15d3aa738f79c94dc4ed239691
parentc8ed93efcf4d52babb7dd1d2dec6c564bbda6da5
avcodec: Add bits_per_raw_sample to AVCodecParameters

The bits_per_raw_sample represents the number of bits of precision per sample.

The field is added at the logical place, not at the end as the code was just
recently added

This fixes the regression about losing the audio sample precision information

The change in the fate test checksum un-does the change from the merge

Previous version reviewed by: wm4 <nfxjfg@googlemail.com>
Previous version reviewed by: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/avcodec.h
libavcodec/utils.c
libavcodec/version.h
tests/ref/lavf/ffm