On 05/11/18 09:39, Linjie Fu wrote:
> Currently, profile_string was initialized in the "for" loop. If
> it didn't enter this loop or accidently break, profile_string may be
> uninitialized.
>
> Modify to initialize the profile_string after the loop to avoid
> using the uninitialized value when cal
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Linjie Fu
> Sent: Monday, November 5, 2018 5:39 PM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Fu, Linjie
> Subject: [FFmpeg-devel] [PATCH] avcodec/vaapi_encode: modify the
> initialization post
Currently, profile_string was initialized in the "for" loop. If
it didn't enter this loop or accidently break, profile_string may be
uninitialized.
Modify to initialize the profile_string after the loop to avoid
using the uninitialized value when calling av_log.
Signed-off-by: Linjie Fu
---
lib