avformat/cinedec: ask for sample when biBitCount isnt supported

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
examples/avio_reading: fix null dereference on error

Fixed CID1197052
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/oggparsevorbis: remove non functional null check

Fixes CID1197055

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Consider aspect ratio when writing tiff dpi.

TIFFTAG_YRESOLUTION gets now adjusted to sample_aspect_ratio.
avcodec/pthread_frame: fix missing unlock on error

Fixes CID1197057
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/msrle: check return code for success before use

The check is possibly redundant, but better to check for errors
that dont occur than to skip the check and crash

Fixes CID1197060

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