aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_hevc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-17 20:27:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-17 20:40:21 +0100
commit4adf75cade6905f33baeeaca559013467dc7d1ae (patch)
tree5218c4437a6605e6c09d04cd6d24321736b8d3af /libavformat/rtpdec_hevc.c
parentbc3f76779b6ca9f32b5b8b0c3475a3ca70fbbbd5 (diff)
downloadffmpeg-4adf75cade6905f33baeeaca559013467dc7d1ae.tar.gz
avformat/rtpdec_hevc: Fix 2 "may be used uninitialized in this function" warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_hevc.c')
-rw-r--r--libavformat/rtpdec_hevc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c
index ac4c7656d4..3926614dae 100644
--- a/libavformat/rtpdec_hevc.c
+++ b/libavformat/rtpdec_hevc.c
@@ -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];