Skip to content
Snippets Groups Projects
Commit 8575f1d5 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Steve Lhomme
Browse files

codec: avcodec: missing fmt clean on error

parent f1d4ade9
No related branches found
No related tags found
1 merge request!4062codec: avcodec: missing fmt clean on error
Pipeline #372251 passed with stage
in 17 minutes and 34 seconds
......@@ -181,6 +181,7 @@ static int lavc_GetVideoFormat(decoder_t *dec, video_format_t *restrict fmt,
{
msg_Err(dec, "Invalid frame size %dx%d vsz %dx%d",
width, height, ctx->width, ctx->height );
video_format_Clean(fmt);
return -1; /* invalid display size */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment