X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fquicksync_encoder.cpp;fp=nageru%2Fquicksync_encoder.cpp;h=a094498db1fa4cf1c6044fe71f642abe7af50e28;hb=58644bea00e8de98276e4acb4e62e892256e3b46;hp=eb144ceb2512f70044e5ae55d9b17b6e77ee4135;hpb=8202dbe236c5e206989c383004f9dba116ea12bd;p=nageru diff --git a/nageru/quicksync_encoder.cpp b/nageru/quicksync_encoder.cpp index eb144ce..a094498 100644 --- a/nageru/quicksync_encoder.cpp +++ b/nageru/quicksync_encoder.cpp @@ -1449,12 +1449,9 @@ QuickSyncEncoderImpl::QuickSyncEncoderImpl(const std::string &filename, Resource if (global_flags.x264_video_to_http || global_flags.x264_video_to_disk) { assert(x264_http_encoder != nullptr); - } else { - assert(x264_http_encoder == nullptr); - } - if (global_flags.x264_separate_disk_encode) { assert(x264_disk_encoder != nullptr); } else { + assert(x264_http_encoder == nullptr); assert(x264_disk_encoder == nullptr); }