dvbsubdec: Fix function return type
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 2 Oct 2015 10:43:40 +0000 (12:43 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 4 Oct 2015 11:07:12 +0000 (13:07 +0200)
libavcodec/dvbsubdec.c

index d2b95bc..f1d02d7 100644 (file)
@@ -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