Fix initialization to prevent SIGSEGV

Bug: webrtc:10138
Change-Id: Ib299d2c5c08c07bbccf475b7e585cdd23830e238
Reviewed-on: https://webrtc-review.googlesource.com/c/119948
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26406}
This commit is contained in:
Artem Titov
2019-01-25 15:05:58 +01:00
committed by Commit Bot
parent b2d714110e
commit 728b5a4033

View File

@ -29,7 +29,7 @@ QualityAnalyzingVideoDecoder::QualityAnalyzingVideoDecoder(
VideoQualityAnalyzerInterface* analyzer)
: id_(id),
implementation_name_("AnalyzingDecoder-" +
std::string(delegate_->ImplementationName())),
std::string(delegate->ImplementationName())),
delegate_(std::move(delegate)),
extractor_(extractor),
analyzer_(analyzer) {