av_frame_copy_props: copy pkt_pos

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/movie: better memory logic for the AVFrame.
lavfi/mp: switch to AVFrame.
rawdec: use AVPALETTE_SIZE instead of magic constants.

Conflicts:
	libavcodec/rawdec.c
rawdec: work with refcounted frames.

Adapted from commit 759001c534287a96dc96d1e274665feb7059145d
by Anton Khirnov.

Also, fix the use of || instead of | in a flags check.
lavfi/audio: add missing include.
lavu/frame: copy the channels field.
lavfi/audio: set the channels field on allocated buffers.
lavfi/buffersrc: port to AVFrame.

Change ffmpeg to call the new API function instead of the
function in the old API with the same name.

Remove obsolete code in src_buffer.c.
lavfi: remove obsolete functions and code.
lavfi: disable buffersinks from the fork.
lavfi: move obsolete declarations to reduce diff with the fork.
lavfi/buffersink: upgrade to AVFrame.
Revert "ffplay: fix link"

This reverts commit b0555d61ec827f560440d191630de2aaaf8b65c0.
avfilter_copy_frame_props: put pos copy back

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavc/rawdec: set field order on decoded frame.
lavfi/buffer: copy ffmpeg-only fields.

Forgotten in c204eb0.
lavfi/sink_buffer: fix unrefing of remaining frames.
ffmpeg: do not give away our reference to the frame.

Note: the logic here is temporary until the updates to
ffmpeg.c are merged.
avfilter/buffersrc: add back check that layout & channels match

This fixes a regression

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