mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-20 02:28:17 +00:00
Merge commit '390b4d7088b5cecace245fee0c54a57e24dabdf4'
* commit '390b4d7088b5cecace245fee0c54a57e24dabdf4': flvdec: Fix = vs. == typo in sample rate check Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
cb73f84087
@ -122,7 +122,7 @@ static int flv_same_audio_codec(AVCodecContext *acodec, int flags)
|
||||
return acodec->sample_rate == 8000 &&
|
||||
acodec->codec_id == AV_CODEC_ID_PCM_MULAW;
|
||||
case FLV_CODECID_PCM_ALAW:
|
||||
return acodec->sample_rate = 8000 &&
|
||||
return acodec->sample_rate == 8000 &&
|
||||
acodec->codec_id == AV_CODEC_ID_PCM_ALAW;
|
||||
default:
|
||||
return acodec->codec_tag == (flv_codecid >> FLV_AUDIO_CODECID_OFFSET);
|
||||
|
Loading…
Reference in New Issue
Block a user