rtpdec_vp8: Mark broken packets with AV_PKT_FLAG_CORRUPT

This allows the caller to either include them (and get more packets
decoded, but possibly some nonperfect frames), or discard them (by
setting fflags=discardcorrupt).

Signed-off-by: Martin Storsjö <martin@martin.st>
au: validate bits-per-sample separately from codec tag
au: set block_align and use it in au_read_packet()
au: set bit rate
au: return AVERROR codes instead of -1
au: do not arbitrarily limit channel count

Nothing in the AU specification sets a limit on channel count.
We only need to avoid an overflow in the packet size calculation.
au: validate sample rate
au: set stream start time and packet durations
au: remove unnecessary casts
au: do not set pkt->size directly

It is already set by av_get_packet() even for partial reads.
au: move skipping of unused data to before parameter validation

Also do not unnecessarily skip 0 bytes.
au: use %u when printing id and channels since they are unsigned
au: use ff_raw_write_packet()
au: cosmetics: pretty-print and remove pointless comments
yadif: Port inline assembly to yasm

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
idcin: validate header parameters

Avoids using unsupported parameters and signed integer overflows.
idcin: set channel_layout
idcin: set AV_PKT_FLAG_KEY for video packets with a palette
idcin: check for integer overflow when calling av_get_packet()

chunk_size is unsigned 32-bit, but av_get_packet() takes a signed int as the
packet size.
idcinvideo: correctly set AVFrame defaults