]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcoder: another fix for #4564
authorJaroslav Kysela <perex@perex.cz>
Thu, 31 Aug 2017 16:52:52 +0000 (18:52 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Aug 2017 16:52:52 +0000 (18:52 +0200)
src/transcoding/transcode/transcoder.c

index 618e6f6e6ba526516da28740474ae60e127274dd..af19e9c1ca0b39953317ad69612dbe0f422466db 100644 (file)
@@ -118,7 +118,7 @@ tvh_transcoder_start(TVHTranscoder *self, tvh_ss_t *ss_src)
             break;
         case AVMEDIA_TYPE_AUDIO:
             aprofile = (TVHAudioCodecProfile *)self->profiles[media_type];
-            if (avprofile &&
+            if (aprofile &&
                 lang_match(aprofile->language1, ssc, &audio_pindex[0], i) == 0 &&
                 lang_match(aprofile->language2, ssc, &audio_pindex[1], i) == 0)
                 lang_match(aprofile->language3, ssc, &audio_pindex[2], i);