avcodec/dvbsubdec: Do not return a value from a function returning void

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-04-26 13:47:12 +02:00
parent 0b13f42238
commit e06dde52d7

View File

@ -1418,7 +1418,7 @@ static void save_display_set(DVBSubContext *ctx)
pbuf = av_malloc(width * height * 4);
if (!pbuf)
return AVERROR(ENOMEM);
return;
for (display = ctx->display_list; display; display = display->next) {
region = get_region(ctx, display->region_id);