]> granicus.if.org Git - handbrake/commitdiff
CLI: fix initialization of audio bitrate override
authorJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 14 Feb 2019 18:15:17 +0000 (11:15 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 14 Feb 2019 18:15:17 +0000 (11:15 -0700)
test/test.c

index e5a2f492707d4b6442c952457bcb9385b206b0b2..b6a4a0013f8cf99167d6c50f2ddb92b8e22b0243 100644 (file)
@@ -3725,6 +3725,7 @@ static hb_dict_t * PreparePreset(const char *preset_name)
                     ii = last_bitrate + 1;
                     for (; ii < count; ii++)
                     {
+                        audio_dict = hb_value_array_get(list, ii);
                         hb_dict_set(audio_dict, "AudioBitrate",
                             hb_value_int(atoi(abitrates[last_bitrate])));
                     }