Report "unknown codec" instead of "unspecifed size" if the codec is unknown.
fate: fate-hevc-conformance-INITQP_B_Sony_1 belongs to the 10bit kind

Fixes the test on big endian

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mux: fix memleak of side data in flac fate tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mux: Dont leave stale side data pointers in ff_interleave_add_packet()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swr: move compensation_distance handling to swri_resample caller.

I think there's an off-by-one in terms of the switchpoint where we
switch from dst_incr to ideal_dst_incr, I don't think that's a massive
issue, but just be aware of that. It's probably trivial to prevent but
I don't care.

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

I could not reproduce any off by 1 error, results are bit exact (michael)
avformat/utils: Call ff_rfps_add_frame() only for video

This avoids some unneeded computations

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