ffmpeg | branch: release/2.4 | Michael Niedermayer <michae...@gmx.at> | Tue May 12 18:20:23 2015 +0200| [7c4e3ddda17929516325c3816eb259cc4c70ebe1] | committer: Michael Niedermayer
avformat/nutdec: Fix use of uinitialized value Fixes CID1041175 Signed-off-by: Michael Niedermayer <michae...@gmx.at> (cherry picked from commit 56abf35151c635caa3eb04bbb90454bae5463a09) Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c4e3ddda17929516325c3816eb259cc4c70ebe1 --- libavformat/nutdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index d56c4a5..6fff2bb 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -540,6 +540,8 @@ static int decode_info_header(NUTContext *nut) return ret; } value = get_s(bc); + str_value[0] = 0; + if (value == -1) { type = "UTF-8"; get_str(bc, str_value, sizeof(str_value)); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog