avformat/img2: remove useless 'pix' duplicated entry.

The second entry will never be selected, so let's save some bytes in the
library.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/avidec: ensure that palette does not contain the BottomUp info.

Considering the palette is located at the end of extradata may be flawed
when the extradata contains the palette followed by the BottomUp field.
When the BottomUp field is present, exclude it from the palette.
Fixes part of ticket #1304

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Add missing entry for maintainer of rtpenc_hevc.*

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Revert "configure: Refactor setting of feature test macro _XOPEN_SOURCE"

This fixes build on netbsd and probably other bsd based Platforms

This reverts commit 56b8d106769c5c5f9174dcc426f1ee2f991428b1.
postprocess: prefetch* dont change anything, thus their arguments should be const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
postproc/postprocess_template: mark unchanged function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/snow: Make block argumrnt of ff_snow_pred_block() const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/4xm: Make src of decode_p_block() const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/adtsenc: buf isnt changed in adts_decode_extradata(), make it const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/asfenc: Make asf_write_indexs index argument const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dvdsubdec: Add option forced_subs_only to only decode forced subtitle frames.

Signed-off-by: Nicholas Robbins <nickrobbins@yahoo.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/decoders: adding documentation for lavc/dvdsubdec.c option "forced_subs_only"

Signed-off-by: Nicholas Robbins <nickrobbins@yahoo.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: replace impossible dts/pts combinations by a reasonable guess instead of hard failing

Fixes stream copy from tserror270.ts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
x86/vp9: add AVX and AVX2 MC

Roughly 25% faster MC than ssse3 for blocksizes 32 and 64.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
avcodec/asvenc: Fix integer overflow in level

Warn if the qscale is too low for the input data and clip levels to
minimize artifacts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/asvenc: fix AAN scaling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/webp: fix default palette color 0xff000000 -> 0x00000000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/riffenc: Filter out "BottomUp" in ff_put_bmp_header()

Fixes Ticket1304

Commit message and extradata size bugfix by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: handle fullscreen status on resize event

In some cases resize events can happen even during fullscreen, so let's pass
the proper flag to SDL_SetVideoMode.

Fixes ticket #3964.

Reported-by: Jeff Dwork <jeff@reggie.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay: factorize decoder functions to generic decoder

Signed-off-by: Marton Balint <cus@passwd.hu>