From 1da2a20763ae9ca579d5fd20763065871ddf6311 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 2 Oct 2015 12:43:40 +0200 Subject: [PATCH] dvbsubdec: Fix function return type --- libavcodec/dvbsubdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index d2b95bc53d..f1d02d77d3 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -1175,7 +1175,7 @@ static int dvbsub_parse_page_segment(AVCodecContext *avctx, #ifdef DEBUG -static void save_display_set(DVBSubContext *ctx) +static int save_display_set(DVBSubContext *ctx) { DVBSubRegion *region; DVBSubRegionDisplay *display; @@ -1268,6 +1268,7 @@ static void save_display_set(DVBSubContext *ctx) } fileno_index++; + return 0; } #endif