[vlc-commits] [Git][videolan/vlc][master] codec: avcodec: missing fmt clean on error
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Aug 9 14:15:24 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
8575f1d5 by Francois Cartegnie at 2023-08-09T13:49:18+00:00
codec: avcodec: missing fmt clean on error
- - - - -
1 changed file:
- modules/codec/avcodec/video.c
Changes:
=====================================
modules/codec/avcodec/video.c
=====================================
@@ -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 */
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8575f1d558a7ccceb88667afc7852477d2696ce1
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8575f1d558a7ccceb88667afc7852477d2696ce1
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list