lavf: use the format context strict_std_compliance instead of the codec one
riffenc: do not fall back on AVCodecContext.frame_size for MP3

It will not be set unless the codec context is used as the encoding
context, which is discouraged. For MP2, av_get_audio_frame_duration()
will already set the frame size properly. For MP3, set the frame size
explicitly.
lavf: stop using avpriv_flac_parse_streaminfo()

The only parameters needed by the demuxers are the sample rate and sample
count, which can be trivially extracted manually, without resorting to
an avpriv function.
lavc: make avpriv_flac_parse_streaminfo() private on the next bump
oggenc: accept only STREAMINFO extradata

The reasoning is the same as for
0097cbea695e534fce39958ccd103af2fbf65831.
lavc: make avpriv_flac_is_extradata_valid() private on the next bump
nutdec: do not set has_b_frames

It is not supposed to be set by demuxers.
Merge commit '91e8d2eb1f7bf3af949008b106ec1ca037b88b0e'

* commit '91e8d2eb1f7bf3af949008b106ec1ca037b88b0e':
  lavf: use the format context strict_std_compliance instead of the codec one

Conflicts:
	libavformat/mux.c

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

* commit '56dc46a1893251e74be1ad63e54fb38d754bb1fe':
  riffenc: do not fall back on AVCodecContext.frame_size for MP3

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

* commit '7784f47762d59e859b4d0f74b3e021ad9368ee2c':
  lavf: stop using avpriv_flac_parse_streaminfo()

Conflicts:
	libavcodec/Makefile

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

* commit 'c070a8751597e3aa1b443e88464da785d8966b14':
  lavc: make avpriv_flac_parse_streaminfo() private on the next bump

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

* commit 'e839de0f851535b5e19256b52f9865f0cb768a7c':
  oggenc: accept only STREAMINFO extradata

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

* commit 'acc897e6b15776ed438b88ffe330ec48f6b50e48':
  lavc: make avpriv_flac_is_extradata_valid() private on the next bump

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

* commit '05e59135b3539062465b5005b6d46ec0418a5fc4':
  nutdec: do not set has_b_frames

Not merged, this change is not correct

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/xiph: make extradata argument const

Fixes "warning: passing argument 1 of avpriv_split_xiph_headers discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/flvenc: Use AVFormatContext strict_std_compliance instead of AVCodecContext

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mmf: Use AVFormatContext strict_std_compliance instead of AVCodecContext

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/yuv4mpegenc: Use AVFormatContext strict_std_compliance instead of AVCodecContext

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/riffenc: move MP3 LSF threshold to the midway point between the 2

No testcase available but this seems more correct

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