[FFmpeg-cvslog] dvbsubdec: Fix function return type

Vittorio Giovara git at videolan.org
Mon Oct 5 11:26:20 CEST 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Fri Oct  2 12:43:40 2015 +0200| [1da2a20763ae9ca579d5fd20763065871ddf6311] | committer: Vittorio Giovara

dvbsubdec: Fix function return type

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1da2a20763ae9ca579d5fd20763065871ddf6311
---

 libavcodec/dvbsubdec.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index d2b95bc..f1d02d7 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
 



More information about the ffmpeg-cvslog mailing list