[FFmpeg-cvslog] flvdec: Fix = vs. == typo in sample rate check
Diego Biurrun
git at videolan.org
Fri Aug 2 11:01:07 CEST 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Jul 31 23:59:05 2013 +0200| [390b4d7088b5cecace245fee0c54a57e24dabdf4] | committer: Diego Biurrun
flvdec: Fix = vs. == typo in sample rate check
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=390b4d7088b5cecace245fee0c54a57e24dabdf4
---
libavformat/flvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 54c1b0c..6dc60b3 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);
More information about the ffmpeg-cvslog
mailing list