Commit b64d3e00 authored by lu_zero's avatar lu_zero

fix the packetization mode parsing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10055 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 40041a74
......@@ -78,8 +78,8 @@ static void sdp_parse_fmtp_config_h264(AVStream * stream,
assert(h264_data != NULL);
if (!strcmp(attr, "packetization-mode")) {
av_log(NULL, AV_LOG_DEBUG, "H.264/RTP Packetization Mode: %d\n", atoi(attr));
h264_data->packetization_mode = atoi(attr);
av_log(NULL, AV_LOG_DEBUG, "H.264/RTP Packetization Mode: %d\n", atoi(value));
h264_data->packetization_mode = atoi(value);
/*
Packetization Mode:
0 or not present: Single NAL mode (Only nals from 1-23 are allowed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment