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:
parent
0b13f42238
commit
e06dde52d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user