aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-10-02 12:43:40 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-10-04 13:07:12 +0200
commit1da2a20763ae9ca579d5fd20763065871ddf6311 (patch)
tree8b732c90a0d2140f3861be88c004c2ecb727050c /libavcodec
parentcab63a8b594cdc365bb2581a12b3ac8e6dd480b2 (diff)
downloadffmpeg-1da2a20763ae9ca579d5fd20763065871ddf6311.tar.gz
dvbsubdec: Fix function return type
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dvbsubdec.c3
1 files changed, 2 insertions, 1 deletions
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