Commit e06dde52 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0b13f422
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment