提交 4adf75ca 编写于 作者: M Michael Niedermayer

avformat/rtpdec_hevc: Fix 2 "may be used uninitialized in this function" warnings

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 bc3f7677
......@@ -20,6 +20,7 @@
*
*/
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/base64.h"
......@@ -104,7 +105,8 @@ static av_cold int hevc_sdp_parse_fmtp_config(AVFormatContext *s,
} else if (!strcmp(attr, "sprop-sei")) {
data_ptr = &hevc_data->sei;
size_ptr = &hevc_data->sei_size;
}
} else
av_assert0(0);
while (*value) {
char base64packet[1024];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册