From 5f0db60c381e9dd0252f181fc14867a0b221a972 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 12 Dec 2017 13:25:41 -0500 Subject: [PATCH] quiet coverity --- src/zm_mpeg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zm_mpeg.cpp b/src/zm_mpeg.cpp index e273d6ec2..448621921 100644 --- a/src/zm_mpeg.cpp +++ b/src/zm_mpeg.cpp @@ -207,6 +207,7 @@ void VideoStream::SetupCodec( int colours, int subpixelorder, int width, int hei if ( !ost ) { Fatal( "Could not alloc stream" ); + return; } ost->id = ofc->nb_streams - 1;