lavf/apngdec: properly skip currently unsupported in-stream tags

Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf: fix apngdec under msvc.

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

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
indeo2: move variable declarations into blocks using them.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
h264_i386: Optimize decode_significance_8x8_x86 for 64 bit.

11674 -> 10877 decicycles on my Phenom II.
Overall speedup was unfortunately within measurement error.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
h264_mb: Use smaller data type for refs in await_references.

As far as I can tell the value can never go outside
the int16_t type.
And especially the cost of the initialization is
reduced quite a bit by making it smaller.
Overall decoding speedup not measurable though.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
avcodec/libspeexdec: make array const

Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: fix mem leak when opening input or parsing options fail.

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avdevice/iec61883: Use av_freep(), avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/avf_concat: Use av_freep(), avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/graphparser: Use av_freep(), avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffv1dec: Avoid unnecessarily large stack usage and copies.

Ideally the compiler could figure this out on its own,
but it seems it can't.
An alternative that would avoid the messy explicit memcpy
would be to use a sub-struct for the parts that should
be preserved, which can then simply be assigned.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
avcodec/mjpegdec: fix pixfmtid 0x14111100

Fixes part of Ticket 2004
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/x86/lossless_audiodsp: support len %16 == 8 in scalarproduct_and_madd_int16()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/wmalosslessdec: support 24bit lossless

Not checked if its actually lossless
Fixes Ticket1847

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/x86/lossless_audiodsp: fix fallback code for 32bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
flvenc: Remove an unused variable

Signed-off-by: Martin Storsjö <martin@martin.st>
lavf: Remove a redundant include of sys/stat.h

The same file already includes this header a few lines further
above.

Signed-off-by: Martin Storsjö <martin@martin.st>
dashenc: Don't require the stream bitrate to be known

Don't write any bitrate attribute if it isn't known. As long as one
doesn't want automatic bitrate switching, playback can work just
fine even if it isn't set.

If strict standard compliance is requested, this is still considered
an error, since the attribute is mandatory according to the spec.

Based on a patch by Rodger Combs.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/tiff: Fix static linking of lzma with msvc.

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