From 9da3498d99e07ba38a205fa3833f1ec95bc7b33b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 1 May 2009 13:35:54 +0200 Subject: [PATCH] fecdec: Fix warning message when freeing incomplete groups. This could lead to a segfault. --- fecdec_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fecdec_filter.c b/fecdec_filter.c index bc530062..817e4c66 100644 --- a/fecdec_filter.c +++ b/fecdec_filter.c @@ -161,8 +161,8 @@ static struct fecdec_group *free_oldest_group(struct private_fecdec_data *pfd) } if (!group_complete(oldest) && !group_empty(oldest)) PARA_WARNING_LOG("Clearing incomplete group %d " - "(contains %d slices)\n", fg->h.group_num, - fg->num_received_slices); + "(contains %d slices)\n", oldest->h.group_num, + oldest->num_received_slices); clear_group(oldest); return oldest; } -- 2.39.5