Improve frame size calculation in caf muxer to fix adpcm_ms remuxing.

Fixes ticket #3645.
Do not overwrite the sample format with AV_SAMPLE_FMT_NONE in libspeex_decode_init().

Fixes a regression since ef48ac65 when decoding speex in f4v, reported
by irc user massdos.
avcodec/indeo4: Move frametypes into common header.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/indeo4: Decode both parts of IP frames

Fixes part of Ticket845

av_frame_move_ref() idea by Anton Khirnov

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