mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
avformat/rtpdec_hevc: Fix 2 "may be used uninitialized in this function" warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bc3f76779b
commit
4adf75cade
@ -20,6 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/avassert.h"
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "libavutil/base64.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")) {
|
} else if (!strcmp(attr, "sprop-sei")) {
|
||||||
data_ptr = &hevc_data->sei;
|
data_ptr = &hevc_data->sei;
|
||||||
size_ptr = &hevc_data->sei_size;
|
size_ptr = &hevc_data->sei_size;
|
||||||
}
|
} else
|
||||||
|
av_assert0(0);
|
||||||
|
|
||||||
while (*value) {
|
while (*value) {
|
||||||
char base64packet[1024];
|
char base64packet[1024];
|
||||||
|
Loading…
Reference in New Issue
Block a user