X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtpdec_h264.c;h=f8a22722034fdf9f43dbfac3dc4adf88a510f4d0;hb=b7e9eea31f3e60dc506cf52bb78f0d9f679cb3bd;hp=096b35f20aaab11f9a32689f13384d3bd4a4de04;hpb=b0387edd5e766b1032f946d6cdb35b765bb45435;p=ffmpeg diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c index 096b35f20aa..f8a22722034 100644 --- a/libavformat/rtpdec_h264.c +++ b/libavformat/rtpdec_h264.c @@ -39,7 +39,6 @@ #include "avformat.h" #include "mpegts.h" -#include #include "network.h" #include @@ -70,7 +69,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream, char *attr, char *value) { AVCodecContext *codec = stream->codec; - assert(codec->codec_id == CODEC_ID_H264); + assert(codec->codec_id == AV_CODEC_ID_H264); assert(h264_data != NULL); if (!strcmp(attr, "packetization-mode")) { @@ -384,7 +383,7 @@ static int parse_h264_sdp_line(AVFormatContext *s, int st_index, RTPDynamicProtocolHandler ff_h264_dynamic_handler = { .enc_name = "H264", .codec_type = AVMEDIA_TYPE_VIDEO, - .codec_id = CODEC_ID_H264, + .codec_id = AV_CODEC_ID_H264, .parse_sdp_a_line = parse_h264_sdp_line, .alloc = h264_new_context, .free = h264_free_context,