lavc: Move the libtwolame encoder registration to the list for external libraries

This makes sure the default behaviour of using the internal encoder
stays the same regardless if libtwolame is enabled or not (as for
any external library).

This fixes fate-lavf-mpg if libav is built with libtwolame enabled.

CC: libav-stable@libav.org
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
xwma: Do not leak on failure path

CC: libav-stable@libav.org
Bug-Id: CID 1087092
lavfi: clean memory on error in ADD_FORMAT()

CC: libav-stable@libav.org
Bug-Id: CID 1250334
libtwolame: prevent a NULL pointer dereference

CC: libav-stable@libav.org
Bug-Id: CID 1250330 / CID 1250335
dvdsubdec: Do not leak on failure path

CC: libav-stable@libav.org
Bug-Id: CID 1198262
vp9: Use the correct upper bound for seg_id

And use a macro to make apparent why the value.

Bug-Id: CID 1108595
qdm2: avoid integer overflow

CC: libav-stable@libav.org
Bug-Id: CID 700555
avformat: replace some odd 30-60 rates by higher less odd ones in  get_std_framerate()

Fixes Ticket4012

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/pngdec: add APNG support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/apngdec: add APNG demuxer.

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

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

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

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/libspeexdec: support zygoaudio

Fixes Ticket1873

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/libspeexdec: more verbose error message

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'aa8b39d999589154f79300de9038994d0093cd34'

* commit 'aa8b39d999589154f79300de9038994d0093cd34':
  lavc: Move the libtwolame encoder registration to the list for external libraries

Conflicts:
	libavcodec/allcodecs.c

See: f5f98727b361c62d3962cef37a100db95d62b702
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6'

* commit 'fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6':
  xwma: Do not leak on failure path

Conflicts:
	libavformat/xwma.c

See: 375a0c03a9a401a328a94b3d9f5338ab1524f7ef
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit '863ee8a855b8ce27ffef41479eb66da58763faed'

* commit '863ee8a855b8ce27ffef41479eb66da58763faed':
  lavfi: clean memory on error in ADD_FORMAT()

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