From ec3de18f47d7cfeeed0756c4f87621259063c435 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 15 Sep 2014 20:28:21 +0200 Subject: Replace ann_format with ann_class. The naming has been changed to "annotation class" a while ago. --- decoder/runtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder/runtc.c') diff --git a/decoder/runtc.c b/decoder/runtc.c index 364e43f..f58e004 100644 --- a/decoder/runtc.c +++ b/decoder/runtc.c @@ -252,14 +252,14 @@ static void srd_cb_ann(struct srd_proto_data *pdata, void *cb_data) /* This is not the PD selected for output. */ return; - if (op->class_idx != -1 && op->class_idx != pda->ann_format) + if (op->class_idx != -1 && op->class_idx != pda->ann_class) /* * This output takes a specific annotation class, * but not the one that just came in. */ return; - dec_ann = g_slist_nth_data(dec->annotations, pda->ann_format); + dec_ann = g_slist_nth_data(dec->annotations, pda->ann_class); line = g_string_sized_new(256); g_string_printf(line, "%" PRIu64 "-%" PRIu64 " %s: %s:", pdata->start_sample, pdata->end_sample, -- cgit v1.2.3-54-g00ecf