Merge remote-tracking branch 'qatar/release/9' into release/1.1
* qatar/release/9: arm: vp8: Fix the plain-armv6 version of vp8_luma_dc_wht Prepare for 9.2 Release lavr: call mix_function_init() in ff_audio_mix_set_matrix() rtpenc_chain: Use the original AVFormatContext for getting payload type rtp: Make sure the output format pointer is set Conflicts: RELEASE Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -124,14 +124,14 @@ function ff_vp8_luma_dc_wht_armv6, export=1
|
|||||||
sbfx r1, r9, #3, #13
|
sbfx r1, r9, #3, #13
|
||||||
sbfx r10, r4, #3, #13
|
sbfx r10, r4, #3, #13
|
||||||
#else
|
#else
|
||||||
sxth r8, r8
|
sxth r6, r8
|
||||||
sxth r7, r7
|
sxth r12, r7
|
||||||
sxth r9, r9
|
sxth r1, r9
|
||||||
sxth r4, r4
|
sxth r10, r4
|
||||||
asr r8, #3 @ block[0][0]
|
asr r6, #3 @ block[0][0]
|
||||||
asr r7, #3 @ block[0][1]
|
asr r12, #3 @ block[0][1]
|
||||||
asr r9, #3 @ block[0][2]
|
asr r1, #3 @ block[0][2]
|
||||||
asr r4, #3 @ block[0][3]
|
asr r10, #3 @ block[0][3]
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
strh r6, [r0], #32
|
strh r6, [r0], #32
|
||||||
|
@@ -107,7 +107,7 @@ int ff_rtp_get_payload_type(AVFormatContext *fmt,
|
|||||||
/* static payload type */
|
/* static payload type */
|
||||||
for (i = 0; AVRtpPayloadTypes[i].pt >= 0; ++i)
|
for (i = 0; AVRtpPayloadTypes[i].pt >= 0; ++i)
|
||||||
if (AVRtpPayloadTypes[i].codec_id == codec->codec_id) {
|
if (AVRtpPayloadTypes[i].codec_id == codec->codec_id) {
|
||||||
if (codec->codec_id == AV_CODEC_ID_H263 && (!fmt ||
|
if (codec->codec_id == AV_CODEC_ID_H263 && (!fmt || !fmt->oformat ||
|
||||||
!fmt->oformat->priv_class || !fmt->priv_data ||
|
!fmt->oformat->priv_class || !fmt->priv_data ||
|
||||||
!av_opt_flag_is_set(fmt->priv_data, "rtpflags", "rfc2190")))
|
!av_opt_flag_is_set(fmt->priv_data, "rtpflags", "rfc2190")))
|
||||||
continue;
|
continue;
|
||||||
|
@@ -64,7 +64,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s,
|
|||||||
/* Get the payload type from the codec */
|
/* Get the payload type from the codec */
|
||||||
if (st->id < RTP_PT_PRIVATE)
|
if (st->id < RTP_PT_PRIVATE)
|
||||||
rtpctx->streams[0]->id =
|
rtpctx->streams[0]->id =
|
||||||
ff_rtp_get_payload_type(rtpctx, st->codec, idx);
|
ff_rtp_get_payload_type(s, st->codec, idx);
|
||||||
else
|
else
|
||||||
rtpctx->streams[0]->id = st->id;
|
rtpctx->streams[0]->id = st->id;
|
||||||
|
|
||||||
|
@@ -401,10 +401,6 @@ AudioMix *ff_audio_mix_alloc(AVAudioResampleContext *avr)
|
|||||||
av_free(matrix_dbl);
|
av_free(matrix_dbl);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = mix_function_init(am);
|
|
||||||
if (ret < 0)
|
|
||||||
goto error;
|
|
||||||
|
|
||||||
return am;
|
return am;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
@@ -544,8 +540,5 @@ int ff_audio_mix_set_matrix(AudioMix *am, const double *matrix, int stride)
|
|||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: detect situations where we can just swap around pointers
|
return mix_function_init(am);
|
||||||
instead of doing matrix multiplications with 0.0 and 1.0 */
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user