diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-26 13:47:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-26 13:47:12 +0200 |
commit | e06dde52d75ac216c98c8479f7f8f0d4566024af (patch) | |
tree | a9591ed63ab7bbf66100d4eaeb2b5ab3ea7a6b6c /libavcodec/dvbsubdec.c | |
parent | 0b13f42238c0ba776bb44fcd9ce48b4047a02367 (diff) | |
download | ffmpeg-e06dde52d75ac216c98c8479f7f8f0d4566024af.tar.gz |
avcodec/dvbsubdec: Do not return a value from a function returning void
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvbsubdec.c')
-rw-r--r-- | libavcodec/dvbsubdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 7fb80f8712..8c2a0ea5ab 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -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); |