summaryrefslogtreecommitdiff
path: root/audiorecorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'audiorecorder.c')
-rw-r--r--audiorecorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audiorecorder.c b/audiorecorder.c
index 8775af0..fece799 100644
--- a/audiorecorder.c
+++ b/audiorecorder.c
@@ -330,7 +330,7 @@ void cPluginAudiorecorder::probe_audio_codecs() {
AVCodec *codec = NULL;
for (c = 1; c < SetupValues.num_audio_codecs; ++c) {
- codec = avcodec_find_encoder_by_name(audio_codecs[c]);
+ codec = avcodec_find_encoder(AV_CODEC_ID_MP3);
if (codec)
continue;