On Thu, Jul 06, 2017 at 07:28:32PM +0100, Derek Buitenhuis wrote:
> Signed-off-by: Derek Buitenhuis <derek.buitenh...@gmail.com>
> ---
>  libavformat/hdsenc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
> index 347df83a51..c362a75d8b 100644
> --- a/libavformat/hdsenc.c
> +++ b/libavformat/hdsenc.c
> @@ -421,6 +421,7 @@ static int hds_write_header(AVFormatContext *s)
>              av_log(s, AV_LOG_WARNING,
>                     "No video stream in output stream %d and no min frag 
> duration set\n", i);
>              ret = AVERROR(EINVAL);
> +            goto fail;

If this is applied then the av_log level should be changed from
AV_LOG_WARNING to AV_LOG_ERROR

without checking history, the warning makes me think it was intended
to not fail

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to