Commit fef70387 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Philippe Gorley

encoder: fix race condition segfault in rtp_write_trailer

Change-Id: I5b036bd9285197934eae942c8c2c23d675bc69af
Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <>
parent 68f7c77f
......@@ -52,7 +52,8 @@ MediaEncoder::MediaEncoder()
if (outputCtx_) {
if (outputCtx_->priv_data)
for (auto encoderCtx : encoders_) {
if (encoderCtx) {
#ifndef _MSC_VER
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