Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-26 14:47:12 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-04-26 14:47:12 +0300
commite06dde52d75ac216c98c8479f7f8f0d4566024af (patch)
treea9591ed63ab7bbf66100d4eaeb2b5ab3ea7a6b6c /libavcodec/dvbsubdec.c
parent0b13f42238c0ba776bb44fcd9ce48b4047a02367 (diff)
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.c2
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);