avoid compiler warning about missing return statement

current gcc versions return a random value here what can be seen
as security problem (SUSE distro checks complain here therefore)
This commit is contained in:
Adrian Schröter 2018-07-05 12:55:05 +02:00
parent 9d361a354a
commit 2358c193e5

View File

@ -235,6 +235,7 @@ class Mpeg {
sws_ctx = sws_getContext( width, height, AV_PIX_FMT_RGB24,
width, height, AV_PIX_FMT_YUV420P,
SWS_BICUBIC, NULL, NULL, NULL );
return 0;
}
void Stop() {