aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-07-31 23:59:05 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-01 12:43:53 +0200
commit390b4d7088b5cecace245fee0c54a57e24dabdf4 (patch)
tree22b4982b4e4862bdfcbca96d9eb5c525d0b9dec5
parentfd8f91e3f44a2bdbefaaebead388133c5fdd3423 (diff)
downloadffmpeg-390b4d7088b5cecace245fee0c54a57e24dabdf4.tar.gz
flvdec: Fix = vs. == typo in sample rate check
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 54c1b0cf4a..6dc60b3a84 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -120,7 +120,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);