avpacket: copy side data type and size in av_dup_packet
ismindex: Rename structs and fields from "file" to "track"

The tool nowadays supports more than one track per file,
this makes reading the code slightly less confusing.

Signed-off-by: Martin Storsjö <martin@martin.st>
ismindex: Factorize code for printing chunk duration lists

Signed-off-by: Martin Storsjö <martin@martin.st>
ismindex: Check the return value of allocations

Signed-off-by: Martin Storsjö <martin@martin.st>
Add av_log_{ask_for_sample|missing_feature} replacements to libavutil

This allows reporting missing features and requesting samples from
all libraries in a standard way; with a simplified API.
av_log_missing_feature() ---> avpriv_report_missing_feature()
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
rsodec: Use avpriv_report_missing_feature() where appropriate
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()
yadif: restore speed of the C filtering code

Always use the special filter for the first and last 3 columns (only).

Changes made in 64ed397 slowed the filter to just under 3/4 of what it
was.  This commit restores the speed while maintaining identical output.

For reference, on my Athlon64:
1733222 decicycles in old
2358563 decicycles in new
1727558 decicycles in this

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tiff: fix handling of metadata with refcounted frames

Since the conversion to refcounted frames, the tiff decoder
only wrote the metadata into its internal "picture" in its own context,
never exposing the metadata to the user, and eventually leaking the
metadata.

Instead, properly store the metadata directly into the frame being decoded into.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/avcodec: cleanup includes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/avcodec: fix API version checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/thumbnail: support flushing.

This makes possible the raise of one picture if the input has less than
the number of frames to analyze.

Fixes Ticket1992.
lavfi/ebur128: fix format negociation for output.

Before this change, the audio input and output formats are set
independently, so the lavfi negociation could pick different settings
for the input and output. This is particularly true for the channel
layout settings, where multiple choices were available.

Fixes Ticket2342.
Revert "lavfi/ebur128: fix format negociation for output."

This reverts commit 9efcfbed9dd64679145f5f39d9a812dfeea97172.

All the shame on me; this commit is actually causing more problems
(broken outputs but also crashes) than it was solving.
lavc: do not set coded_frame->reference

That field is deprecated.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Merge commit 'f05e9beb4ab5fb8b9d5ba81405e9fca901832591'

* commit 'f05e9beb4ab5fb8b9d5ba81405e9fca901832591':
  ismindex: Rename structs and fields from "file" to "track"
  avpacket: copy side data type and size in av_dup_packet

Conflicts:
	libavcodec/avpacket.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit '7c147900b86c0f1cf030b7b844c670649c80c191'

* commit '7c147900b86c0f1cf030b7b844c670649c80c191':
  ismindex: Factorize code for printing chunk duration lists

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