Mercurial > libavformat.hg
changeset 2362:6d50c1518d8a libavformat
fix the packetization mode parsing
author | lu_zero |
---|---|
date | Fri, 10 Aug 2007 13:34:56 +0000 |
parents | 583c4bb7f063 |
children | 3f3a4b5fc5bb |
files | rtp_h264.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rtp_h264.c Fri Aug 10 13:04:45 2007 +0000 +++ b/rtp_h264.c Fri Aug 10 13:34:56 2007 +0000 @@ -78,8 +78,8 @@ 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)