Re #2059 (misc): Fixed ffmpeg H264 unpacketization error due to uninitialized unpack_nal_start

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5705 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Sauw Ming 2017-11-29 02:23:08 +00:00
parent 85fa1f130f
commit 2403173ecd
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ static pj_status_t h264_preopen(ffmpeg_private *ff)
/* Create packetizer */
pktz_cfg.mtu = ff->param.enc_mtu;
pktz_cfg.unpack_nal_start = 0;
#if 0
if (data->fmtp.packetization_mode == 0)
pktz_cfg.mode = PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL;