avcodec/hevc_ps: remove min_cb_addr_zs

(cherry picked from commit ff7926d5092f9d4158108963e977e8c992322ba4)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
hevc/pps: optimized size of min_tb_addr_zs
reduce computation too
(cherry picked from commit 39c4d45c7788081c45c7fae51b7c5d0bcbaece9d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/wavenc: do not hardcode array size in memset and other functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/wavenc: more specific error return for "Writing 16 bit peak for 8 bit audio"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/wavenc: simplify malloc failure checking

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/nutdec: improve probe speed by 30%

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>