diff --git a/libyangrtc2/src/yangavutil/YangMeta.cpp b/libyangrtc2/src/yangavutil/YangMeta.cpp index 0c79e12d3cb2e3729b99407af63fa3ace961d758..55e3e5a3a18d8f8ce4cf65de0d34d75b9d5e783c 100644 --- a/libyangrtc2/src/yangavutil/YangMeta.cpp +++ b/libyangrtc2/src/yangavutil/YangMeta.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include @@ -83,7 +83,7 @@ void yang_getConfig_Meta_H264(YangSample* psps, YangSample* ppps,uint8_t *config //type_codec1 + avc_type + composition time + fix header + count of sps + len of sps + sps + count of pps + len of pps + pps // int32_t nb_payload = 1 + 1 + 3 + 5 + 1 + 2 + sps->size + 1 + 2 + pps->size; int32_t spsLen=psps->nb; - int32_t ppsLen=psps->nb; + int32_t ppsLen=ppps->nb; uint8_t* sps=(uint8_t*)psps->bytes; uint8_t* pps=(uint8_t*)ppps->bytes; configBuf[0] = 0x17;